Flutter Engine
The Flutter Engine
|
Functions | |
def | glyph_program (glyph) |
def | square_glyph (glyph) |
Creating Glyphs Outlines. More... | |
def | ascent_flushed_glyph (glyph) |
def | descent_flushed_glyph (glyph) |
def | not_def_glyph (glyph) |
def | unicode_range (fromUnicode, throughUnicode) |
def | create_glyph (name, contour) |
def | create_no_path_glyph (codepoint, advance_percentage) |
def | describe_codepoint_range (codepoints) |
Variables | |
string | NAME = "FlutterTest" |
string | TRICKY_NAME = "MingLiU" |
int | EM = 1024 |
int | DESCENT = -EM // 4 |
int | ASCENT = EM + DESCENT |
int | UPOS = -143 * 1000 // EM |
int | UWIDTH = 20 * 1000 // EM |
font = fontforge.font() | |
Font Metadata and Metrics. More... | |
familyname | |
fullname | |
fontname | |
ascent | |
descent | |
upos | |
uwidth | |
hhea_linegap | |
os2_typolinegap | |
horizontalBaseline | |
cvt | |
TrueType Hinting. More... | |
gcd = math.gcd(ASCENT, EM) | |
string | prep_program |
list | square_codepoints |
list | no_path_codepoints |
altuni | |
unicode | |
scripts = set() | |
Printing Glyph Map Stats. More... | |
script_list = list(scripts) | |
dictionary | glyph_mapping = {} |
script = fontforge.scriptFromUnicode(codepoint) | |
list | codepoints_by_script = [glyph_mapping.get(script, []) for script in script_list] |
def gen_test_font.ascent_flushed_glyph | ( | glyph | ) |
Definition at line 145 of file gen_test_font.py.
def gen_test_font.create_glyph | ( | name, | |
contour | |||
) |
Definition at line 238 of file gen_test_font.py.
def gen_test_font.create_no_path_glyph | ( | codepoint, | |
advance_percentage | |||
) |
Definition at line 252 of file gen_test_font.py.
def gen_test_font.descent_flushed_glyph | ( | glyph | ) |
Definition at line 155 of file gen_test_font.py.
def gen_test_font.describe_codepoint_range | ( | codepoints | ) |
Definition at line 297 of file gen_test_font.py.
def gen_test_font.glyph_program | ( | glyph | ) |
Definition at line 96 of file gen_test_font.py.
def gen_test_font.not_def_glyph | ( | glyph | ) |
Definition at line 165 of file gen_test_font.py.
def gen_test_font.square_glyph | ( | glyph | ) |
Creating Glyphs Outlines.
Definition at line 134 of file gen_test_font.py.
def gen_test_font.unicode_range | ( | fromUnicode, | |
throughUnicode | |||
) |
Definition at line 182 of file gen_test_font.py.
gen_test_font.altuni |
Definition at line 246 of file gen_test_font.py.
Definition at line 19 of file gen_test_font.py.
gen_test_font.ascent |
Definition at line 32 of file gen_test_font.py.
list gen_test_font.codepoints_by_script = [glyph_mapping.get(script, []) for script in script_list] |
Definition at line 295 of file gen_test_font.py.
gen_test_font.cvt |
TrueType Hinting.
Definition at line 71 of file gen_test_font.py.
Definition at line 18 of file gen_test_font.py.
gen_test_font.descent |
Definition at line 33 of file gen_test_font.py.
int gen_test_font.EM = 1024 |
Definition at line 17 of file gen_test_font.py.
gen_test_font.familyname |
Definition at line 27 of file gen_test_font.py.
gen_test_font.font = fontforge.font() |
Font Metadata and Metrics.
Definition at line 26 of file gen_test_font.py.
gen_test_font.fontname |
Definition at line 29 of file gen_test_font.py.
gen_test_font.fullname |
Definition at line 28 of file gen_test_font.py.
Definition at line 73 of file gen_test_font.py.
dictionary gen_test_font.glyph_mapping = {} |
Definition at line 285 of file gen_test_font.py.
gen_test_font.hhea_linegap |
Definition at line 36 of file gen_test_font.py.
gen_test_font.horizontalBaseline |
Definition at line 39 of file gen_test_font.py.
string gen_test_font.NAME = "FlutterTest" |
Definition at line 13 of file gen_test_font.py.
list gen_test_font.no_path_codepoints |
Definition at line 219 of file gen_test_font.py.
gen_test_font.os2_typolinegap |
Definition at line 37 of file gen_test_font.py.
string gen_test_font.prep_program |
Definition at line 77 of file gen_test_font.py.
gen_test_font.script = fontforge.scriptFromUnicode(codepoint) |
Definition at line 289 of file gen_test_font.py.
gen_test_font.script_list = list(scripts) |
Definition at line 276 of file gen_test_font.py.
gen_test_font.scripts = set() |
Printing Glyph Map Stats.
Definition at line 270 of file gen_test_font.py.
list gen_test_font.square_codepoints |
Definition at line 186 of file gen_test_font.py.
string gen_test_font.TRICKY_NAME = "MingLiU" |
Definition at line 16 of file gen_test_font.py.
gen_test_font.unicode |
Definition at line 247 of file gen_test_font.py.
Definition at line 21 of file gen_test_font.py.
gen_test_font.upos |
Definition at line 34 of file gen_test_font.py.
Definition at line 22 of file gen_test_font.py.
gen_test_font.uwidth |
Definition at line 35 of file gen_test_font.py.