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
Behdad Esfahbod
3109375b84
Remove POSITION() and CURPOSITION() macros
15 years ago
Behdad Esfahbod
d7cfb3b2d1
s/\<context\>/c/g
15 years ago
Behdad Esfahbod
f679635893
Don't use variable-length-arrays
15 years ago
Behdad Esfahbod
72071a8afa
Add a few more buffer convenience methods
15 years ago
Behdad Esfahbod
11a81612e5
Minor
15 years ago
Behdad Esfahbod
3f93518a63
Improve check for internal symbols
15 years ago
Behdad Esfahbod
357d0f29c4
Make HB_PRIVATE more useful
...
So we can apply it to class methods also. Not sure if that works!
15 years ago
Behdad Esfahbod
1d5e780136
Add a few other buffer methods
15 years ago
Behdad Esfahbod
d0316a81f5
Add buffer->swap()
15 years ago
Behdad Esfahbod
3b649a38b5
Add check for internal symbols
15 years ago
Behdad Esfahbod
eee8598d75
Hide internal symbols
15 years ago
Behdad Esfahbod
8951fc2c82
Add buffer->allocate_lig_id()
15 years ago
Behdad Esfahbod
1ce4dc95db
Use bit tricks for HB_DIRECTION_IS_*
...
We already depend on the exact values of the direction enum
in HB_DIRECTION_REVERSE(), so we may as well use that.
15 years ago
Behdad Esfahbod
22da7fd94d
Rename a few files to be C++ sources
...
In anticipation for buffer revamp coming.
15 years ago
Behdad Esfahbod
c3df649f25
Fix comment
15 years ago
Behdad Esfahbod
281f08954a
Remove obsolete friend
15 years ago
Behdad Esfahbod
70c9bfd564
Simplify PairSet
15 years ago
Behdad Esfahbod
97e7f8f305
Add CONST_FUNC annotation
15 years ago
Behdad Esfahbod
494d28ad98
Simplify likely() implementation
...
Shrinks .text by 1%!
15 years ago
Behdad Esfahbod
75651b2087
Fix warnings
15 years ago
Behdad Esfahbod
4c20d8c057
Sprinkle a few strategic likely()'s
...
Shrinks the code size by some 2% even.
15 years ago
Behdad Esfahbod
69cb28bc13
Remove a few likely()'s
15 years ago