Skip to main content

ttf_iosevka_ss08/
lib.rs

1// The font is licensed under SIL OFL Version 1.1.
2//
3// The support code is licensed under Berkeley Software Distribution license.
4//
5// ---
6// ---
7//
8// Copyright (c) 2015-2017 Belleve Invis (belleve@typeof.net).
9//
10// Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
11// * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
12// * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
13// * Neither the name of Belleve Invis nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
14//
15// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BELLEVE INVIS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
16//
17// -----------------------
18
19
20#[cfg(feature = "regular")]
21pub const REGULAR: &'static [u8] = include_bytes!("../ttf/iosevka-ss08-regular.ttf");
22
23#[cfg(feature = "bold")]
24pub const REGULAR: &'static [u8] = include_bytes!("../ttf/iosevka-ss08-bold.ttf");
25
26#[cfg(feature = "italic")]
27pub const REGULAR: &'static [u8] = include_bytes!("../ttf/iosevka-ss08-italic.ttf");
28
29#[cfg(feature = "oblique")]
30pub const REGULAR: &'static [u8] = include_bytes!("../ttf/iosevka-ss08-oblique.ttf");
31
32#[cfg(feature = "bolditalic")]
33pub const REGULAR: &'static [u8] = include_bytes!("../ttf/iosevka-ss08-bolditalic.ttf");
34
35#[cfg(feature = "boldoblique")]
36pub const REGULAR: &'static [u8] = include_bytes!("../ttf/iosevka-ss08-boldoblique.ttf");
37
38#[cfg(feature = "thin")]
39pub const REGULAR: &'static [u8] = include_bytes!("../ttf/iosevka-ss08-thin.ttf");
40
41#[cfg(feature = "thinitalic")]
42pub const REGULAR: &'static [u8] = include_bytes!("../ttf/iosevka-ss08-thinitalic.ttf");
43
44#[cfg(feature = "thinoblique")]
45pub const REGULAR: &'static [u8] = include_bytes!("../ttf/iosevka-ss08-thinoblique.ttf");
46
47#[cfg(feature = "light")]
48pub const REGULAR: &'static [u8] = include_bytes!("../ttf/iosevka-ss08-light.ttf");
49
50#[cfg(feature = "lightitalic")]
51pub const REGULAR: &'static [u8] = include_bytes!("../ttf/iosevka-ss08-lightitalic.ttf");
52
53#[cfg(feature = "lightoblique")]
54pub const REGULAR: &'static [u8] = include_bytes!("../ttf/iosevka-ss08-lightoblique.ttf");
55
56#[cfg(feature = "medium")]
57pub const REGULAR: &'static [u8] = include_bytes!("../ttf/iosevka-ss08-medium.ttf");
58
59#[cfg(feature = "mediumitalic")]
60pub const REGULAR: &'static [u8] = include_bytes!("../ttf/iosevka-ss08-mediumitalic.ttf");
61
62#[cfg(feature = "mediumoblique")]
63pub const REGULAR: &'static [u8] = include_bytes!("../ttf/iosevka-ss08-mediumoblique.ttf");
64
65#[cfg(feature = "heavy")]
66pub const REGULAR: &'static [u8] = include_bytes!("../ttf/iosevka-ss08-heavy.ttf");
67
68#[cfg(feature = "heavyitalic")]
69pub const REGULAR: &'static [u8] = include_bytes!("../ttf/iosevka-ss08-heavyitalic.ttf");
70
71#[cfg(feature = "heavyoblique")]
72pub const REGULAR: &'static [u8] = include_bytes!("../ttf/iosevka-ss08-heavyoblique.ttf");
73
74#[cfg(feature = "extralight")]
75pub const REGULAR: &'static [u8] = include_bytes!("../ttf/iosevka-ss08-extralight.ttf");
76
77#[cfg(feature = "extralightitalic")]
78pub const REGULAR: &'static [u8] = include_bytes!("../ttf/iosevka-ss08-extralightitalic.ttf");
79
80#[cfg(feature = "extralightoblique")]
81pub const REGULAR: &'static [u8] = include_bytes!("../ttf/iosevka-ss08-extralightoblique.ttf");