|
a8949df4
|
2013-09-13T20:23:51
|
|
[introspection] Annotate Unicode / font callbacks
Should move these out of the public header...
We're "clean" of introspection warnings now. Remaining ones are about
graphite2 / freetype types not being introspectable.
|
|
085d4291
|
2013-09-12T17:14:33
|
|
[introspection] Disable constructors for now
Since our types are not associated with their methods, marking
constructors makes them inaccessible from bindings. Undo for now.
|
|
70303cf2
|
2013-09-06T17:35:57
|
|
[docs/introspection] Some more annotations
|
|
288f2899
|
2013-09-06T15:40:22
|
|
[docs/introspection] More annotations
|
|
2e3a07ab
|
2013-08-26T18:49:07
|
|
Separate face source code from font
Makes documentation / introspection easier.
|
|
e05a9994
|
2012-11-15T16:23:21
|
|
Add hb_face_[sg]et_glyph_count()
|
|
7c8e844d
|
2012-08-28T17:57:49
|
|
Use namespace for OpenType tables
Avoids USHORT, SHORT, ULONG, LONG clashes with Windows API.
|
|
4c8ac4f4
|
2012-08-08T17:44:19
|
|
Misc minor fixes
|
|
6f3a3001
|
2012-08-07T22:13:25
|
|
Add hb_font_glyph_from/to_string
|
|
368b4e76
|
2012-08-06T23:06:04
|
|
Minor
|
|
66591ece
|
2012-08-06T17:07:19
|
|
Remove unnecessary lifecycle bits
We already set recount to INVALID when destroying.
This block was not necessary.
|
|
8fbfda92
|
2012-08-01T19:03:46
|
|
Inline font getters
|
|
2f87cebe
|
2012-07-27T04:02:38
|
|
Implement shape_plan caching
Should give us some performance boost.
|
|
ea278d38
|
2012-07-27T02:12:28
|
|
Partially switch ot shaper to shape_plan
|
|
027857d0
|
2012-07-26T17:34:25
|
|
Start adding a unified shaper access infrastructure
Add global shape_plan. Unused so far.
|
|
1bc1cb36
|
2012-06-16T15:21:55
|
|
Make source more digestable for gobject-introspection
|
|
0594a244
|
2012-06-05T20:35:40
|
|
Cleanup TRUE/FALSE vs true/false
|
|
f06ab8a4
|
2012-06-05T12:31:51
|
|
Better hide nil objects and make them const
|
|
bce09552
|
2012-05-27T11:29:21
|
|
Add hb_font_get_glyph_name() and hb_font_get_glyph_from_name()
|
|
20fdb0f4
|
2012-05-17T22:04:45
|
|
Add a lock-free cache type for int->int functions
To be used for cmap and advance caching if desired.
|
|
d993e723
|
2012-05-13T16:04:36
|
|
Fix hb_face_set_index()
|
|
0cd33592
|
2011-09-21T16:49:33
|
|
Fix possible leaks
|
|
b9415e76
|
2011-08-17T19:21:44
|
|
[API] Add hb_font_set_funcs_data()
|
|
7a750ac3
|
2011-08-17T14:19:59
|
|
Rename table files from eg maxp-private.hh to maxp-table.hh
|
|
33ccc779
|
2011-08-09T00:43:24
|
|
[API] Make set_user_data() functions take a replace parameter
We need this to set data on objects safely without worrying that some
other thread unsets it by setting it at the same time.
|
|
3897335c
|
2011-08-08T23:37:41
|
|
[API] Sort out get_blob API
hb_face_get_blob() renamed to hb_face_reference_blob(), returns a
reference now.
hb_face_[sg]et_index() added.
hb_face_set_upem() added.
|
|
e715784b
|
2011-08-08T21:42:02
|
|
Rename get_table to reference_table in all API
|
|
c605bbbb
|
2011-08-04T20:00:53
|
|
Remove C++ guards from source files
Where causing issues for people with MSVC.
|
|
bf8c57ba
|
2011-08-03T17:38:04
|
|
[API] Add hb_face_get_blob()
Need to think more about it.
|
|
4b6317c4
|
2011-07-07T23:14:42
|
|
More code shuffling
|
|
2d8ebcb9
|
2011-05-25T11:27:33
|
|
[API] One last font-funcs API change
Now that vertical text works correctly, I'm doing a last round
modification of the font-funcs API to simplify. Expect no more
changes around here.
|
|
67d51ff9
|
2011-05-19T19:08:57
|
|
[Vertical] Do fallback origin calculation
|
|
60fbb360
|
2011-05-19T18:46:15
|
|
[Vertical] GPOS is always done with horizontal origin
|
|
8b38faee
|
2011-05-19T13:08:00
|
|
More vertical
Starting to get there, but not without yet another round of changes.
I think I know wheere to go now.
|
|
b8d76dd7
|
2011-05-17T23:31:00
|
|
Vertical: Adjust origin in glyph_extents() and glyph_contour_point()
The base for vertical is almost ready now.
|
|
19098185
|
2011-05-17T23:27:22
|
|
Cosmetic
|
|
2c3f51a1
|
2011-05-17T23:23:27
|
|
Minor
|
|
7e2c85de
|
2011-05-17T17:55:03
|
|
[API] Vertical support, take 2
I like this API *much* better. Implementation still incomplete, but
horizontal works.
|
|
744970af
|
2011-05-16T18:15:37
|
|
[API] Add support for vertical text
Design not final yet, and in fact I'm going to change it immediately,
but this is an standalone change for itself.
|
|
7fc5a30c
|
2011-05-12T17:48:20
|
|
[API] Add hb_face_make/is_immutable()
|
|
20c8b908
|
2011-05-12T15:19:33
|
|
Finish off previous change
|
|
0fd8c2f1
|
2011-05-12T15:14:13
|
|
[API] Make get_glyph() callback return a boolean
We need to know whether the glyph exists, so we can fallback to
composing / decomposing. Assuming that glyph==0 means "doesn't exist"
wouldn't work for applications like Pango that want to use different
"doesn't exist" glyph codes for different characters. An explicit
return value fixes that.
|
|
805af724
|
2011-05-12T12:39:40
|
|
Rename get_kernings() arguments from first/second_glyph to left/right_glyph
Makes it clear that kerning is in visual order.
|
|
52df150e
|
2011-05-12T00:46:57
|
|
Fix font subclass chainup
Test passing now.
|
|
7033518f
|
2011-05-11T23:31:15
|
|
[API] Pass face to get_table()
|
|
b4678278
|
2011-05-11T23:25:28
|
|
[API] Remove const from font user_data
|
|
9a14688e
|
2011-05-11T22:49:29
|
|
[API] Rename hb_face_create_for_data() to hb_face_create()
|
|
80a6833b
|
2011-05-11T18:14:44
|
|
[API] Add hb_*_get_empty() for all objects
|
|
a513dbcf
|
2011-05-11T00:24:34
|
|
[API] Change signature of get_contour_point and get_kerning ffuncs
get_contour_point now takes glyph id before point_index.
get_kerning now takes a vector to fill-in.
|
|
63d646fb
|
2011-05-11T00:15:37
|
|
[font] Do user-space conversion when chaining up to parent font
|
|
abcfe9b5
|
2011-05-11T00:02:02
|
|
Remove hb_ot_layout_context_t, simplify code
|
|
1ded6d8b
|
2011-05-10T20:49:02
|
|
Make default font-funcs chain-up to the parent
|
|
b9d975b9
|
2011-05-10T20:41:13
|
|
[API] Pass down closure user_data to font funcs
|
|
686c2d16
|
2011-05-10T20:04:26
|
|
[API] Remove font_funcs func getter functions
|
|
defc45be
|
2011-05-10T20:02:49
|
|
[API] Add hb_font_create_sub_font() and hb_font_get_parent()
Not quite useful just yet.
|
|
85e6218e
|
2011-05-10T19:40:44
|
|
[API] Remove broken-by-design hb_font_unset_funcs()
|
|
74f1d896
|
2011-05-10T19:39:32
|
|
Add hb_font_make/is_immutable()
|
|
1c9f8717
|
2011-05-06T22:28:26
|
|
[API] Simplify blob API, remove lock
|
|
56eb5ad6
|
2011-05-04T19:27:37
|
|
Move code around
Mutex (and Windows.h by extension) are fairly isolated now.
|
|
266b3441
|
2011-05-03T00:35:53
|
|
Refactor to keep hb-object-private.h and hb-open-type.h separate
Needed to be able to include <Windows.h> from hb-object-private.h.
|
|
72657e4c
|
2011-05-02T20:46:32
|
|
[API] Make hb_font_create() take a face and reference it
|
|
cec6611c
|
2011-05-02T20:18:58
|
|
Protect NULL in a couple places
|
|
4911062d
|
2011-05-02T19:36:39
|
|
[API] Rename hb_blob_create_empty() to hb_blob_get_empty()
|
|
1ab1d3e3
|
2011-05-02T19:35:53
|
|
[face] Return nil face if blob is inert
|
|
c7ffe2ad
|
2011-04-28T16:03:29
|
|
[API Remove hb_font_funcs_copy()
Will be adding font_funcs subclassing instead.
|
|
5fa849b7
|
2011-04-27T21:46:01
|
|
[API] Add _set/get_user_data() for all objects
|
|
47e71d96
|
2011-04-27T16:38:03
|
|
[object] Remove unnecessary use of macros
|
|
fca368c4
|
2011-04-21T18:24:02
|
|
Add hb_object_header_t which is the common part of all objects
Makes way for adding arbitrary user_data support.
|
|
2409d5f8
|
2011-04-21T17:14:28
|
|
Update Copyright headers
|
|
da975419
|
2011-04-21T15:08:01
|
|
[API] Allow negative font x_scale/y_scale
I was reconsidering whether y should grow down, since all three/four
times I've used this API I was tricked and got that wrong in my use.
So I was very inclined to make y grow down instead of up. However,
considering that the font space has y up and it would be very confusing
for callbacks to work against that, I decided that what I really want
is for the user to be able to set y_scale to a negative number to imply
that user-space y grows down.
Changing x_scale/y_scale from unsigned int to int allows that, and I've
made pango to use that instead of negating glyph y_offset later. hb-ft
however still has y group up. I *guess* that's how FreeType works?
I'm not sure, FreeType docs don't make this clear...
I'm happy with the resolution :-).
|
|
c57d454a
|
2011-04-20T18:50:27
|
|
Rename all private sources and headers to C++ files
So we can liberally use the simple features of C++ that parts of the
codebase is already using.
|
|
9417c1c0
|
2011-04-20T17:21:23
|
|
[API] Make hb_face_reference_table() return empty blob instead of NULL
The idea here is that:
- Like pretty much all other API in harfbuzz, user does not have to
check for NULL.
- In any caller code, the case of missing table should be handled
exactly the same way that a too-short table is handled. Turning
a non-existent talbe into a table of size 0 makes the user code
safer.
|
|
c035812f
|
2011-04-20T17:03:00
|
|
[API] Rename hb_face_get_table() to hb_face_reference_table()
That correctly reflects the reference ownership transfer happening.
|
|
af029337
|
2011-04-20T15:49:31
|
|
[API] Remove hb_*_get_reference_count()
This was a bizzare piece of API that I inherited from cairo. It has
been wrong adding them to cairo in the first place. Remove them before
someone uses them!
|
|
5668189c
|
2011-04-20T03:03:32
|
|
[API] font: move user_data before destroy()
This is the common convention for language binding tools.
|
|
502f4cba
|
2010-10-27T01:13:56
|
|
Divide get_metrics into get_advance and get_extents
Graphite module not updated.
Bump version to 0.3.
|
|
ec6c0e54
|
2010-10-26T11:28:14
|
|
Fix blob leak
|
|
3111b8a0
|
2010-10-13T10:41:53
|
|
Fix stupid bug, oops
|
|
e81d7afe
|
2010-10-04T18:18:48
|
|
Add hb_face_get_upem()
|
|
645f6f26
|
2010-10-04T17:01:01
|
|
Add is_mutable() functions
Correspond to the make_mutable() ones.
|
|
19c0eab8
|
2010-10-04T16:45:21
|
|
Add getters for all setter APIs
One in particular is not a straight getter: hb_font_unset_funcs() is
special because of the specific needs of the lifecycle management of
the user_data object.
|
|
8e577aca
|
2010-09-22T17:37:02
|
|
Fix blob refcounting with insane SFNT table directories
|
|
acdba3f9
|
2010-07-23T15:11:18
|
|
Prefer C linkage
|
|
cc6d5227
|
2010-07-23T15:00:13
|
|
De-C++ where possible
Helps with avoiding many "extern C" declarations in source files.
|
|
f97bf4f8
|
2010-05-24T17:50:19
|
|
Make sure we initialize all callbacks upon creation
Also fixes issue with unicode callbacks never being set really.
|
|
bf36a107
|
2010-05-24T17:46:21
|
|
Move all callback functions in a vtable structs
|
|
280af1bd
|
2010-05-20T18:33:35
|
|
Let hb_face_get_table() return NULL if table not found
|
|
750a2294
|
2010-05-20T16:23:27
|
|
get_table() is allowed to return NULL. Use that to simplify code
|
|
99d9ef78
|
2010-05-20T15:47:49
|
|
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.
|
|
0a4399ca
|
2010-05-19T15:45:06
|
|
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.
|
|
cf5585cf
|
2010-05-19T12:03:35
|
|
Add 'head' table
|
|
22da7fd9
|
2010-05-12T18:23:21
|
|
Rename a few files to be C++ sources
In anticipation for buffer revamp coming.
|
|
b435ab7e
|
2010-05-10T19:51:57
|
|
Fix accessing tables from NULL pointer
|
|
64d3fc8d
|
2010-05-03T22:51:19
|
|
Cosmetic: Rename HB_LIKELY/HB_UNLIKELY to likely/unlikely
|
|
33d13fdd
|
2010-04-29T13:56:44
|
|
Rename HB_GNUC_UNUSED -> HB_UNUSED
|
|
6f729b45
|
2010-04-29T03:59:06
|
|
More contour point use
|
|
1cebfbb0
|
2010-04-23T20:49:18
|
|
Cleanup hb_face_create_for_data()
|
|
d6b3c83a
|
2010-04-23T19:59:53
|
|
Allow get_table() to return NULL
|
|
990443e5
|
2010-04-23T17:53:32
|
|
Remove lock_instance()
|
|
33d4d432
|
2010-04-23T14:56:55
|
|
Zero glyph metrics before calling user callback
|