Behdad Esfahbod
3ba6818ba9
Update the Python module
15 years ago
Behdad Esfahbod
83f34677bc
Add hb_tag_from_string()
15 years ago
Behdad Esfahbod
4a9a5c0b06
Don't allocate bits for features not available
15 years ago
Behdad Esfahbod
e53d77142a
Speed up feature mask setting
...
Patch from Jonathan Kew.
15 years ago
Behdad Esfahbod
4fa67f34ec
Add Unicode 5.2 scripts
15 years ago
Behdad Esfahbod
ee1b322100
Fix feature mask setting
15 years ago
Behdad Esfahbod
b490fa3433
Add hb_ot_tag_to_script()
15 years ago
Behdad Esfahbod
5035530904
Add Python wrapper from Martin Hosken
15 years ago
Behdad Esfahbod
280af1bddb
Let hb_face_get_table() return NULL if table not found
15 years ago
Behdad Esfahbod
1cdbfd944e
Fix alternate, again
15 years ago
Behdad Esfahbod
fdca3d5160
Fix alternate off-by-one
15 years ago
Behdad Esfahbod
b634beb39e
Fix delta scale, again...
15 years ago
Behdad Esfahbod
40335d4533
Remove unused operator
15 years ago
Behdad Esfahbod
f7acd8df51
Do alternate glyph selection!
...
Kinda hand-wavy right now. Not tested.
15 years ago
Behdad Esfahbod
750a229455
get_table() is allowed to return NULL. Use that to simplify code
15 years ago
Behdad Esfahbod
99d9ef785f
Write hb_face_create_for_data() in terms of hb_face_create_for_tables()
...
Fixes lack of head_table initialization in create_for_tables() also.
15 years ago
Behdad Esfahbod
6774463883
Apply user features to ranges!
15 years ago
Behdad Esfahbod
9b60233385
Add _hb_bit_storage()
15 years ago
Behdad Esfahbod
6b1b957f6d
Add lookup_map
15 years ago
Behdad Esfahbod
60010a0c4d
Update always-apply mask from 0xFFFF to 1
...
We plan to use the first bit to be always on.
15 years ago
Behdad Esfahbod
009aad5678
Invert the mask logic
...
Before, the mask in the buffer was inverted. That is, a 0 bit meant
feature should be applied and 1 meant not applied, whereas in the
lookups, the logic was positive.
Now both are in sync. When calling hb_buffer_add_glyph() manually,
the mask should be 1 instead of 0.
15 years ago
Behdad Esfahbod
7f411dbfd9
Apply user features
...
No ranges yet
15 years ago
Behdad Esfahbod
0db299ccad
Change hb_feature_t to keep tag/int instead of string
15 years ago
Behdad Esfahbod
0a4399ca22
Fix scale issues
...
hb_font_set_scale() now sets the value to be used to represent a unit
pixel. For example, if rendering a 10px font with a 26.6 representation,
you would set scale to (10 << 6). For 10px in 16.16 you would set it to
(10 << 16). This space should be the same space that the get_glyph_metrics
and get_kerning callbacks work in.
15 years ago
Behdad Esfahbod
cf5585cfa6
Add 'head' table
15 years ago
Behdad Esfahbod
e29caf3f94
Add LONGDATETIME
15 years ago
Behdad Esfahbod
f415755fdf
Minor
15 years ago
Behdad Esfahbod
73af7756dc
Indent
15 years ago
Behdad Esfahbod
3567b87cce
Add an inline version of hb_buffer_ensure()
15 years ago
Behdad Esfahbod
a6a79df5fe
Handle malloc failture in the buffer
15 years ago
Behdad Esfahbod
ca54a12658
Minor
15 years ago
Behdad Esfahbod
910a33fe84
Update buffer docs
15 years ago
Behdad Esfahbod
36b73c80df
Shortening buffer accessors: rename buffer->in_pos to buffer->i
15 years ago
Behdad Esfahbod
29427c5c51
Shortening buffer accessors: rename buffer->out_length to buffer->out_len
15 years ago
Behdad Esfahbod
6960350be9
Shortening buffer accessors: rename buffer->in_length to buffer->len
15 years ago
Behdad Esfahbod
1b621823f3
Shortening buffer accessors: rename buffer->positions to buffer->pos
15 years ago
Behdad Esfahbod
9d5e26df08
Shortening buffer accessors: rename buffer->out_string to buffer->out_info
15 years ago
Behdad Esfahbod
7e7007a1c9
Shortening buffer accessors: rename buffer->in_string to buffer->info
15 years ago
Behdad Esfahbod
8e6b6bb293
Merge buffer->out_pos and buffer->out_length
15 years ago
Behdad Esfahbod
22f668eb9a
Remove the unused BUFFER macro
15 years ago
Behdad Esfahbod
7e53ebe478
Remove the IN_CURGLYPH() macro
15 years ago
Behdad Esfahbod
d784da1923
Remove the IN_CURINFO() macro
15 years ago
Behdad Esfahbod
281f59b4fb
Remove IN_INFO() and IN_NEXTGLYPH() macros
15 years ago
Behdad Esfahbod
6e489cdf76
Remove the IN_GLYPH() macro
15 years ago
Behdad Esfahbod
01feb74c78
Remove the IN_CLUSTER() macro
15 years ago
Behdad Esfahbod
d63a1e089a
Remove the IN_MASK() macro
15 years ago
Behdad Esfahbod
89e2834dab
Remove the IN_LIGID() macro
15 years ago
Behdad Esfahbod
4a871041f4
Remove IN_COMPONENT() macro
15 years ago
Behdad Esfahbod
27da6dd89a
Remove OUT_GLYPH() and OUT_INFO() macros
15 years ago
Behdad Esfahbod
cc6ae7ff91
Fix lookahead matching. Oops!
15 years ago