src/hb-ft.cc


Log

Author Commit Date CI Message
Behdad Esfahbod 323190c2 2012-04-12T12:29:10 Minor
Behdad Esfahbod 0b7e4d9f 2011-08-15T20:41:59 [ft] FT_Get_Advance() for advance-width callbacks Using graphite2's comparerenderer suggests that this makes hb-ft 15 times faster. No caching layer needed anymore.
Behdad Esfahbod 553bc3de 2011-08-15T16:21:06 Minor
Behdad Esfahbod 254142bb 2011-08-15T16:15:44 [ft] FT_Select_Charmap() when we create face
Behdad Esfahbod 9527fb20 2011-08-13T19:03:48 Fix missing return
Behdad Esfahbod 01ec13a1 2011-08-10T22:00:35 Implement hb_ft_font_get_face
Behdad Esfahbod 13a601fe 2011-08-09T11:36:54 [FT] Don't make font immutable
Behdad Esfahbod 38b21187 2011-08-09T10:51:24 [API] Add hb_ft_font_set_funcs(), remove hb_ft_get_font_funcs() Remove hb_ft_get_font_funcs() as it cannot be used by the user anyway. Add hb_ft_font_set_funcs(). Which will make the font internally use FreeType. That is, no need for the font to have created using the hb-ft API. Just create using hb_face_create()/hb_font_create() and then call this on the font (after having set font scale). This internally creates an FT_Face and attached to the font.
Behdad Esfahbod de1e1cf9 2011-08-09T00:19:38 [FT] Adapt to new face API
Behdad Esfahbod 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.
Behdad Esfahbod e715784b 2011-08-08T21:42:02 Rename get_table to reference_table in all API
Behdad Esfahbod c605bbbb 2011-08-04T20:00:53 Remove C++ guards from source files Where causing issues for people with MSVC.
Behdad Esfahbod 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.
Behdad Esfahbod 60fbb360 2011-05-19T18:46:15 [Vertical] GPOS is always done with horizontal origin
Behdad Esfahbod 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.
Behdad Esfahbod 19098185 2011-05-17T23:27:22 Cosmetic
Behdad Esfahbod 7e2c85de 2011-05-17T17:55:03 [API] Vertical support, take 2 I like this API *much* better. Implementation still incomplete, but horizontal works.
Behdad Esfahbod 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.
Behdad Esfahbod 56d12e03 2011-05-16T16:01:58 Remove unnecessary TODO item
Behdad Esfahbod 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.
Behdad Esfahbod 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.
Behdad Esfahbod 7033518f 2011-05-11T23:31:15 [API] Pass face to get_table()
Behdad Esfahbod b4678278 2011-05-11T23:25:28 [API] Remove const from font user_data
Behdad Esfahbod 9a14688e 2011-05-11T22:49:29 [API] Rename hb_face_create_for_data() to hb_face_create()
Behdad Esfahbod 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.
Behdad Esfahbod b9d975b9 2011-05-10T20:41:13 [API] Pass down closure user_data to font funcs
Behdad Esfahbod d2928858 2011-05-03T01:03:53 [ft] Fix font->face handling Don't use _cached()
Behdad Esfahbod 72657e4c 2011-05-02T20:46:32 [API] Make hb_font_create() take a face and reference it
Behdad Esfahbod 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.
Behdad Esfahbod 2409d5f8 2011-04-21T17:14:28 Update Copyright headers
Behdad Esfahbod 783a7d69 2011-04-21T16:03:59 [TODO] Remove finished items
Behdad Esfahbod 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.
Behdad Esfahbod cc6d5227 2010-07-23T15:00:13 De-C++ where possible Helps with avoiding many "extern C" declarations in source files.
Behdad Esfahbod c442672e 2010-05-24T18:02:32 Fix struct initializers
Behdad Esfahbod 750a2294 2010-05-20T16:23:27 get_table() is allowed to return NULL. Use that to simplify code
Behdad Esfahbod 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.
Behdad Esfahbod 22da7fd9 2010-05-12T18:23:21 Rename a few files to be C++ sources In anticipation for buffer revamp coming.