Behdad Esfahbod
0a47c4f78e
Allocate all array rows in a single ALLOC call. Saves over 2000 alloc
...
2009-01-29 Behdad Esfahbod <behdad@gnome.org>
* pango/opentype/harfbuzz-gpos.c (Load_BaseArray), (Free_BaseArray):
Allocate all array rows in a single ALLOC call. Saves over 2000
alloc calls when loading DejaVu Sans!
16 years ago
Behdad Esfahbod
549be924bc
Bug 469049 – Fix all compiler warnings
...
2008-12-25 Behdad Esfahbod <behdad@gnome.org>
Bug 469049 – Fix all compiler warnings
* pango-view/viewer-pangocairo.c (render_callback):
* pango/fonts.c (append_field), (pango_font_description_to_string):
* pango/opentype/harfbuzz-dump.c:
* pango/pango-bidi-type.c (pango_log2vis_get_embedding_levels):
* pango/pango-coverage.c (pango_coverage_set):
* pango/pango-markup.c (span_parse_func):
* pango/pango-renderer.c
(pango_renderer_default_draw_error_underline):
* pango/pango-utils.c (pango_scan_string):
* pango/pangocairo-render.c (pango_cairo_renderer_draw_trapezoid),
(draw_error_underline), (pango_cairo_renderer_class_init):
Fix all the remaining warnings.
16 years ago
Behdad Esfahbod
719f9eaa75
Fix more warnings.
...
2008-12-25 Behdad Esfahbod <behdad@gnome.org>
* pango/modules.c (pango_module_load), (script_info_free):
* pango/opentype/harfbuzz-gpos.c (HB_Load_GPOS_Table):
* pango/pango-bidi-type.c:
* pango/pango-coverage.c (pango_coverage_ref),
(pango_coverage_unref):
* pango/pango-engine.c (pango_engine_shape_real_covers),
(fallback_engine_shape), (fallback_engine_covers):
* pango/pango-fontmap.c (pango_font_map_init):
* pango/pango-ot-ruleset.c (pango_ot_ruleset_finalize),
(pango_ot_ruleset_new):
* pango/pangofc-decoder.c (pango_fc_decoder_init),
(pango_fc_decoder_class_init):
* pango/pangofc-font.c (pango_fc_font_find_shaper),
(pango_fc_font_get_coverage):
* pango/pangofc-fontmap.c (pango_fc_font_map_list_families),
(pango_fc_make_pattern), (pango_fc_font_map_get_patterns),
(get_first_font), (_pango_fc_font_map_get_coverage),
(cleanup_font), (pango_fc_font_description_from_pattern),
(pango_fc_face_list_sizes), (pango_fc_family_list_faces):
* pango/pangoft2-fontmap.c (pango_ft2_font_map_get_resolution):
* pango/pangoft2-render.c (pango_ft2_renderer_init),
(pango_ft2_renderer_draw_trapezoid):
* pango/pangoft2.c (pango_ft2_font_get_face),
(pango_ft2_font_real_unlock_face),
(pango_ft2_free_glyph_info_callback):
Fix more warnings.
16 years ago
Behdad Esfahbod
21f7d507f4
Bug 528272 – "Error loading GPOS table 5503" when using katakana
...
2008-10-14 Behdad Esfahbod <behdad@gnome.org>
Bug 528272 – "Error loading GPOS table 5503" when using katakana
characters
* pango/opentype/harfbuzz-gpos.c (Load_Mark2Array): Skip parsing
null anchor tables.
16 years ago
Behdad Esfahbod
a26c6ae705
Fix left-to-right positioning. Reported by Peter Hunter.
...
2008-09-29 Behdad Esfahbod <behdad@gnome.org>
* pango/opentype/harfbuzz-gpos.c (Position_CursiveChain):
Fix left-to-right positioning. Reported by Peter Hunter.
16 years ago
Behdad Esfahbod
b6c06c56a3
Bug 540592 – Crash in HB_GSUB_Apply_String with Linux-Libertine font
...
2008-06-29 Behdad Esfahbod <behdad@gnome.org>
Bug 540592 – Crash in HB_GSUB_Apply_String with Linux-Libertine font
* pango/opentype/harfbuzz-gsub.c (GSUB_Do_String_Lookup): Fix reverse
loops for type 8 lookups.
17 years ago
Behdad Esfahbod
c44733596c
[hb-ot-layout] Add proper namespace to accessors
17 years ago
Behdad Esfahbod
5722567209
Fix typo, add TODOs
17 years ago
Behdad Esfahbod
4a26ea408c
Finish script, language, and feature public API
17 years ago
Behdad Esfahbod
706ab25a4c
Add script and language public getter API
17 years ago
Behdad Esfahbod
40a81314fa
Make main.cc compile again, which means finished getter API
17 years ago
Behdad Esfahbod
e50c3978d3
Rename HB_OT_Layout to hb_ot_layout_t
17 years ago
Behdad Esfahbod
dfa8119651
Rename hb_ot_layout_create() to hb_ot_layout_create_for_data()
17 years ago
Behdad Esfahbod
54e5aac5e2
GDEF completely working now
17 years ago
Behdad Esfahbod
6f425b1179
[GDEF] Finish internal API
17 years ago
Behdad Esfahbod
590d55cbb9
[GDEF] Finish public API
17 years ago
Behdad Esfahbod
aff831ed67
Implement glyph properties
17 years ago
Behdad Esfahbod
ead428d7a0
More public api
17 years ago
Behdad Esfahbod
fd92a3dde3
Starting public interface
17 years ago
Behdad Esfahbod
7d6b95b000
Remove unused macro
17 years ago
Behdad Esfahbod
7586089c6f
Minor
17 years ago
Behdad Esfahbod
aefaafe5bc
Minor renaming
17 years ago
Behdad Esfahbod
a16ecbf056
Initial gsub stub
17 years ago
Behdad Esfahbod
64aef3a549
Add copyright notices.
17 years ago
Behdad Esfahbod
12360f7c15
Minor cleanup, add LIKELY and UNLIKELY annotations
17 years ago
Behdad Esfahbod
8dd1c8b8d6
Clean up file names, add namespace
17 years ago
Behdad Esfahbod
1f437e6f47
Make all code NULL-free and assert-free
17 years ago
Behdad Esfahbod
600e5eb80f
Define get_for_data() factories
17 years ago
Behdad Esfahbod
b9d7688fb3
Finish and test GDEF
17 years ago
Behdad Esfahbod
303fe62824
Misc cleanup
17 years ago
Behdad Esfahbod
17843245fd
Remove COPYING.GPL and COPYING.FTL that are no longer there.
...
2008-01-16 Behdad Esfahbod <behdad@gnome.org>
* pango/opentype/Makefile.am: Remove COPYING.GPL and COPYING.FTL that
are no longer there.
17 years ago
Behdad Esfahbod
a2a9a023f6
HarfBuzz was relicensed to a more generous and simpler license. Adapt. See
...
2008-01-15 Behdad Esfahbod <behdad@gnome.org>
* pango/opentype/*:
HarfBuzz was relicensed to a more generous and simpler license.
Adapt. See pango/opentype/COPYING for the new license which is
LGPL-compatible.
17 years ago
Behdad Esfahbod
4ccedd22ea
Bug 501575 – Compile errors Patch from Jens Granseuer
...
2007-12-04 Behdad Esfahbod <behdad@gnome.org>
Bug 501575 – Compile errors
Patch from Jens Granseuer
* pango/opentype/harfbuzz-stream.c (_hb_font_goto_table):
* pango/pango-utils.c (handle_alias_line):
Fix C99ism.
17 years ago
Behdad Esfahbod
cd55cfa2b0
Undo accidental change.
17 years ago
Behdad Esfahbod
3f05da638c
Bug 485536 – underline_position can be zero
...
2007-11-29 Behdad Esfahbod <behdad@gnome.org>
Bug 485536 – underline_position can be zero
* pango/pango-utils.c (pango_cairo_quantize_line_geometry):
Document that returned position may be zero.
* pango/pangocairo-win32font.c
(pango_cairo_win32_font_create_metrics_for_context):
* pango/pangofc-font.c (get_face_metrics):
Handle case of underline_position==0 after rounding.
17 years ago
Behdad Esfahbod
e58278fedb
Remove unused macro.
...
2007-11-23 Behdad Esfahbod <behdad@gnome.org>
* pango/opentype/harfbuzz-impl.c: Remove unused macro.
17 years ago
Behdad Esfahbod
3b047380ae
Minor
17 years ago
Behdad Esfahbod
10d6a25a26
Remove dead code.
17 years ago
Behdad Esfahbod
47d2c33e3d
And some more.
...
2007-11-07 Behdad Esfahbod <behdad@gnome.org>
* pango/opentype/*: And some more.
17 years ago
Behdad Esfahbod
78ef65ba08
Some more cleanup and merging.
...
2007-11-07 Behdad Esfahbod <behdad@gnome.org>
* pango/opentype/*: Some more cleanup and merging.
17 years ago
Behdad Esfahbod
5c9bd37995
Fix typo.
17 years ago
Behdad Esfahbod
ef1f481752
Even more cleanup and more type renames.
...
2007-10-25 Behdad Esfahbod <behdad@gnome.org>
* pango/opentype/*: Even more cleanup and more type renames.
17 years ago
Behdad Esfahbod
282c60a0ee
More cleanup, remove redundant error types.
...
2007-10-25 Behdad Esfahbod <behdad@gnome.org>
* pango/opentype/*: More cleanup, remove redundant error types.
17 years ago
Behdad Esfahbod
4280ec4df4
Rename ftglue.c to harfbuzz-impl.c and more type renames and moving code
...
2007-10-24 Behdad Esfahbod <behdad@gnome.org>
* pango/opentype/*: Rename ftglue.c to harfbuzz-impl.c and more
type renames and moving code around.
17 years ago
Behdad Esfahbod
5716ae278a
New header file harfbuzz-global.h. Rename FT_* int types to HB_* types.
...
2007-10-24 Behdad Esfahbod <behdad@gnome.org>
* pango/opentype/*: New header file harfbuzz-global.h. Rename
FT_* int types to HB_* types.
17 years ago
Behdad Esfahbod
2130d852c7
Add commented-out dummy struct for Extension lookups.
...
2007-10-24 Behdad Esfahbod <behdad@gnome.org>
* pango/opentype/harfbuzz-gpos-private.h:
* pango/opentype/harfbuzz-gsub-private.h:
Add commented-out dummy struct for Extension lookups.
17 years ago
Behdad Esfahbod
13b2b96384
Bug 488840 – harfbuzz: protect against ligid overflow
...
2007-10-21 Behdad Esfahbod <behdad@gnome.org>
Bug 488840 – harfbuzz: protect against ligid overflow
* pango/opentype/harfbuzz-buffer.c (_hb_buffer_allocate_ligid):
Never return zero, even in case of overflow.
* pango/opentype/harfbuzz-impl.h: Define dummy HB_LIKELY() and
HB_UNLIKELY(), to be filled later.
17 years ago
Behdad Esfahbod
6b347138b5
Mark internal symbols as HB_INTERNAL and define that to static in
...
2007-10-11 Behdad Esfahbod <behdad@gnome.org>
* pango/opentype/*: Mark internal symbols as HB_INTERNAL and
define that to static in harfbuzz.c.
* pango/opentype/harfbuzz-buffer-internal.h: New file.
17 years ago
Behdad Esfahbod
7cdfb61dee
Remove FTGLUE_API/APIDEF cruft.
...
2007-10-11 Behdad Esfahbod <behdad@gnome.org>
* pango/opentype/ftglue.[ch]: Remove FTGLUE_API/APIDEF cruft.
17 years ago
Behdad Esfahbod
61ddbafaaa
Build harfbuzz.c instead of individual source files, to let compiler go
...
2007-10-11 Behdad Esfahbod <behdad@gnome.org>
* pango/opentype/Makefile.am: Build harfbuzz.c instead of individual
source files, to let compiler go wild with optimizations!
17 years ago