summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* On Windows store the default aliases file in a string array. (#492517)Tor Lillqvist2007-11-032-1/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-11-02 Tor Lillqvist <tml@novell.com> * pango/pango-utils.c (read_builtin_aliases, pango_load_aliases): On Windows store the default aliases file in a string array. (#492517) Compared to the pango.aliases file as distributed with my most recent Windows builds there are some changes: Add the DejaVu fonts as the first ones listed for the generic sans, serif and mono font names. Use Tahoma instead of Arial for sans, and Georgia instead of Times New Roman for serif (to be used if the DejaVu fonts aren't present). Add Arial Unicode MS (a font with quite large coverage that comes with MS Office and thus is often available). Add Sylfaen (the Armenian and Georgian font bundled with Windows). When using the MS-Windows theme the font used by GTK+ will the system UI one. Both fonts typically used as system fonts, Tahoma (on XP) and Segoe UI (on Vista), are aliased here. * pango/pango-utils.c (read_alias_file): Accept also a quoted string for the left-hand side of an aliases file line. This is to enable aliasing fonts with spaces in their name, like "Segoe UI" which is the default system font on Vista. (#492504) (With the above built-in default aliases lists, no actual pango.aliases file is longer required on Windows for non-Latin script support, though.) svn path=/trunk/; revision=2489
* Improve vertical docs.Behdad Esfahbod2007-10-304-12/+56
| | | | | | | | | | | | 2007-10-30 Behdad Esfahbod <behdad@gnome.org> * docs/pango-sections.txt: * docs/tmpl/main.sgml: * docs/tmpl/vertical.sgml: Improve vertical docs. svn path=/trunk/; revision=2488
* === Released 1.19.0 ===Behdad Esfahbod2007-10-303-3/+123
| | | | | | | | | | | | | 2007-10-29 Behdad Esfahbod <behdad@gnome.org> * === Released 1.19.0 === * configure.in: Version 1.19.0 * NEWS: Updated. svn path=/trunk/; revision=2487
* Fix typo.Behdad Esfahbod2007-10-291-2/+3
| | | | svn path=/trunk/; revision=2486
* Sort scripts based on frequency.Behdad Esfahbod2007-10-284-212/+309
| | | | | | | | | | | | | 2007-10-28 Behdad Esfahbod <behdad@gnome.org> * pango/pango-script-lang-table.h: * tools/gen-script-for-lang-new.c: Sort scripts based on frequency. * tools/Makefile.am: Don't build anything by default. svn path=/trunk/; revision=2485
* Adds a link to pango_font_description_from_string() so that the font_descMurray Cumming2007-10-272-5/+12
| | | | | | | | | | 2007-10-26 Murray Cumming <murrayc@murrayc.com> * docs/pango_markup.sgml: Adds a link to pango_font_description_from_string() so that the font_desc attribute is not so mysterious. Bug #490661. svn path=/trunk/; revision=2483
* Functional dup of gen-script-for-lang that uses FcGetLangs() andBehdad Esfahbod2007-10-263-1/+234
| | | | | | | | | | | | 2007-10-26 Behdad Esfahbod <behdad@gnome.org> * tools/Makefile.am: * tools/gen-script-for-lang-new.c: Functional dup of gen-script-for-lang that uses FcGetLangs() and FcCharSetForLang() instead of parsing .orth files. svn path=/trunk/; revision=2482
* CosmeticBehdad Esfahbod2007-10-261-1/+0
| | | | svn path=/trunk/; revision=2481
* Update for fontconfig-2.4.91.Behdad Esfahbod2007-10-262-2/+10
| | | | | | | | | 2007-10-26 Behdad Esfahbod <behdad@gnome.org> * pango/pango-script-lang-table.h: Update for fontconfig-2.4.91. svn path=/trunk/; revision=2480
* Call FcFontSetDestroy() instead of FcFontSetSortDestroy(). These days theyBehdad Esfahbod2007-10-262-1/+10
| | | | | | | | | | | | | | 2007-10-25 Behdad Esfahbod <behdad@gnome.org> * pango/pangofc-fontmap.c (pango_fc_font_map_get_patterns): Call FcFontSetDestroy() instead of FcFontSetSortDestroy(). These days they are the same, but previously the latter was not freeing the actual patterns. But we don't need the sort patterns, so this retroactively fixes a leak in older versions! svn path=/trunk/; revision=2479
* Even more cleanup and more type renames.Behdad Esfahbod2007-10-259-44/+50
| | | | | | | | | 2007-10-25 Behdad Esfahbod <behdad@gnome.org> * pango/opentype/*: Even more cleanup and more type renames. svn path=/trunk/; revision=2478
* More cleanup, remove redundant error types.Behdad Esfahbod2007-10-2515-180/+181
| | | | | | | | | 2007-10-25 Behdad Esfahbod <behdad@gnome.org> * pango/opentype/*: More cleanup, remove redundant error types. svn path=/trunk/; revision=2477
* Rename ftglue.c to harfbuzz-impl.c and more type renames and moving codeBehdad Esfahbod2007-10-2517-381/+294
| | | | | | | | | | 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. svn path=/trunk/; revision=2476
* New header file harfbuzz-global.h. Rename FT_* int types to HB_* types.Behdad Esfahbod2007-10-2425-1016/+1061
| | | | | | | | | | 2007-10-24 Behdad Esfahbod <behdad@gnome.org> * pango/opentype/*: New header file harfbuzz-global.h. Rename FT_* int types to HB_* types. svn path=/trunk/; revision=2475
* Add commented-out dummy struct for Extension lookups.Behdad Esfahbod2007-10-243-0/+32
| | | | | | | | | | | 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. svn path=/trunk/; revision=2474
* Bug 478865 – Drastically reduce number of PangoFont objects created forBehdad Esfahbod2007-10-242-10/+18
| | | | | | | | | | | | | | | 2007-10-24 Behdad Esfahbod <behdad@gnome.org> Bug 478865 – Drastically reduce number of PangoFont objects created for rotating text * pango/pangofc-fontmap.c (fontset_hash_key_hash), (get_scaled_size), (pango_fc_font_map_get_patterns): Use a Pango-unit int for scaled-size instead of double. Merges even more queries... svn path=/trunk/; revision=2473
* Bug 478865 – Drastically reduce number of PangoFont objects created forBehdad Esfahbod2007-10-242-29/+29
| | | | | | | | | | | | | | | | 2007-10-24 Behdad Esfahbod <behdad@gnome.org> Bug 478865 – Drastically reduce number of PangoFont objects created for rotating text * pango/pangofc-fontmap.c (fontset_hash_key_equal), (fontset_hash_key_hash), (fontset_hash_key_copy), (get_scaled_size), (pango_fc_font_map_get_patterns): Only keep scaled-size in fontset hash, instead of unscaled-size and context matrix. svn path=/trunk/; revision=2472
* Bug 471568 – Optimizations in _pango_cairo_update_context()Behdad Esfahbod2007-10-242-19/+34
| | | | | | | | | | | | | 2007-10-24 Behdad Esfahbod <behdad@gnome.org> Bug 471568 – Optimizations in _pango_cairo_update_context() * pango/pangocairo-context.c (_pango_cairo_update_context): Skip change notification about matrix changes if merged font options for the context set metrics hinting to off. svn path=/trunk/; revision=2471
* Bug 489909 – pango_cairo_update_context() should ignore matrixBehdad Esfahbod2007-10-242-1/+11
| | | | | | | | | | | | | | 2007-10-24 Behdad Esfahbod <behdad@gnome.org> Bug 489909 – pango_cairo_update_context() should ignore matrix translation * pango/pangocairo-context.c (_pango_cairo_update_context): Just compare the first four doubles of matrices for change notification purposes. svn path=/trunk/; revision=2470
* Bug 486951 – ChangeLog.pre-1-18Behdad Esfahbod2007-10-243-1500/+1514
| | | | | | | | | | | | | 2007-10-24 Behdad Esfahbod <behdad@gnome.org> Bug 486951 – ChangeLog.pre-1-18 * Makefile.am: * ChangeLog.pre-1-18: Split ChangeLog. svn path=/trunk/; revision=2467
* Fix another Oops of mine from recent commits.Behdad Esfahbod2007-10-242-1/+8
| | | | | | | | | | | 2007-10-24 Behdad Esfahbod <behdad@gnome.org> * pango/glyphstring.c (pango_glyph_string_copy), (pango_glyph_string_free): Fix another Oops of mine from recent commits. svn path=/trunk/; revision=2466
* Bug 472924 – Mark some classes abstractBehdad Esfahbod2007-10-245-6/+24
| | | | | | | | | | | | | | | | | | | | | | | 2007-10-24 Behdad Esfahbod <behdad@gnome.org> Bug 472924 – Mark some classes abstract * pango/fonts.c: * pango/pango-fontmap.c: * pango/pangofc-font.c: * pango/pangofc-fontmap.c: Public API chance: Mark the following types as abstract: PangoFont PangoFontFace PangoFontFamily PangoFontMap PangoFcFont PangoFcFontMap svn path=/trunk/; revision=2465
* Bug 472303 – Make PANGO_GLYPH_EMPTY and PANGO_GLYPH_UNKNOWN_FLAG publicBehdad Esfahbod2007-10-242-2/+8
| | | | | | | | | | | | | | 2007-10-24 Behdad Esfahbod <behdad@gnome.org> Bug 472303 – Make PANGO_GLYPH_EMPTY and PANGO_GLYPH_UNKNOWN_FLAG public * pango/pango-font.h: Make PANGO_GLYPH_EMPTY, * PANGO_GLYPH_UNKNOWN_FLAG, and PANGO_GET_UNKNOWN_GLYPH() public. Previously they were only defined for backend/engine implementations. svn path=/trunk/; revision=2464
* Fix changelogBehdad Esfahbod2007-10-241-3/+6
| | | | svn path=/trunk/; revision=2463
* Fix docBehdad Esfahbod2007-10-241-1/+1
| | | | svn path=/trunk/; revision=2462
* Bug 471601 – Pass pango version information to fontconfigBehdad Esfahbod2007-10-246-20/+78
| | | | | | | | | | | | | | | | | | | | | | 2007-10-24 Behdad Esfahbod <behdad@gnome.org> Bug 471601 – Pass pango version information to fontconfig * pango/pangofc-fontmap.h: New public API: PANGO_FC_GRAVITY PANGO_FC_VERSION * pango/pangofc-fontmap.c (pango_fc_make_pattern): Set PANGO_FC_VERSION in pattern. * docs/pango-sections.txt: * docs/tmpl/pangofc-fontmap.sgml: Update. svn path=/trunk/; revision=2461
* Bug 472629 – Add pango_renderer_get_layout(_line)Behdad Esfahbod2007-10-247-12/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-24 Behdad Esfahbod <behdad@gnome.org> Bug 472629 – Add pango_renderer_get_layout(_line) * pango/pango-renderer.h: * pango/pango-renderer.c: New public API: pango_renderer_get_layout() pango_renderer_get_layout_line() * pango/pangocairo-render.c (pango_cairo_renderer_draw_shape), (release_renderer), (_pango_cairo_do_layout_line), (_pango_cairo_do_layout): Use above API to simplify shape_renderer implementation. * pango/pango.def: * docs/pango-sections.txt: * docs/tmpl/pango-renderer.sgml: Update. svn path=/trunk/; revision=2460
* Fix couple Oopses from my last commit.Behdad Esfahbod2007-10-242-2/+7
| | | | | | | | | | 2007-10-24 Behdad Esfahbod <behdad@gnome.org> * pango/pango-attributes.c: Fix couple Oopses from my last commit. svn path=/trunk/; revision=2459
* Bug 469641 – Initialize attribute start/end to [0..MAXUINT]Behdad Esfahbod2007-10-248-19/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-24 Behdad Esfahbod <behdad@gnome.org> Bug 469641 – Initialize attribute start/end to [0..MAXUINT] * pango/pango-attributes.h: * pango/pango-attributes.c: New public API: pango_attribute_init() * pango/pango-attributes.c: (pango_attr_string_new), (pango_attr_language_new), (pango_attr_color_new), (pango_attr_int_new), (pango_attr_float_new), (pango_attr_size_new_internal), (pango_attr_font_desc_new), (pango_attr_shape_new_with_data): Initialize attributes using pango_attribute_init(). * pango/pango.def: * docs/pango-docs.sgml: * docs/pango-sections.txt: * docs/tmpl/text-attributes.sgml: Update. svn path=/trunk/; revision=2458
* Bug 471577 – GBoxed GType for PangoGlyphItemBehdad Esfahbod2007-10-2415-63/+235
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-24 Behdad Esfahbod <behdad@gnome.org> Bug 471577 – GBoxed GType for PangoGlyphItem * pango/pango-glyph-item.h: * pango/pango-glyph-item.c: New public API: PANGO_TYPE_GLYPH_ITEM pango_glyph_item_copy() pango_glyph_item_get_type() * pango/pango-layout.c: New public API: pango_layout_iter_copy() * pango/fonts.c (pango_font_description_copy), (pango_font_description_copy_static), (pango_font_description_free), (pango_font_descriptions_free), (pango_font_metrics_ref), (pango_font_metrics_unref): * pango/glyphstring.c (pango_glyph_string_copy), (pango_glyph_string_free): * pango/pango-attributes.c (pango_attr_list_ref), (pango_attr_list_unref), (pango_attr_list_copy): * pango/pango-color.c (pango_color_copy), (pango_color_free): * pango/pango-item.c (pango_item_copy), (pango_item_free): * pango/pango-layout.c (pango_layout_line_ref), (pango_layout_line_unref), (pango_layout_iter_copy), (pango_layout_iter_free): * pango/pango-layout.h: * pango/pango-matrix.c (pango_matrix_copy), (pango_matrix_free): Update all copy/free functions to accept NULL as legitimate input. Previously all were g_return_[val_]if_fail()ing it. * pango/pango.def: * docs/pango-sections.txt: * docs/tmpl/glyphs.sgml: * docs/tmpl/layout.sgml: Update. svn path=/trunk/; revision=2457
* Bug 471571 – Add pango_layout_iter_get_layout()Behdad Esfahbod2007-10-226-3/+47
| | | | | | | | | | | | | | | | 2007-10-22 Behdad Esfahbod <behdad@gnome.org> Bug 471571 – Add pango_layout_iter_get_layout() * docs/pango-sections.txt: * docs/tmpl/layout.sgml: * pango/pango-layout.c (pango_layout_iter_get_layout): * pango/pango-layout.h: * pango/pango.def: Add trivial yet missing pango_layout_iter_get_layout(). svn path=/trunk/; revision=2456
* Remove obsolete comment. PangoLayoutRun is not deprecated. It's just sameBehdad Esfahbod2007-10-222-1/+6
| | | | | | | | | | 2007-10-22 Behdad Esfahbod <behdad@gnome.org> * docs/tmpl/layout.sgml: Remove obsolete comment. PangoLayoutRun is not deprecated. It's just same type as PangoGlyphItem. svn path=/trunk/; revision=2455
* Remove obsolete comment. PangoLayoutRun is not deprecated. It's just sameBehdad Esfahbod2007-10-222-1/+5
| | | | | | | | | | 2007-10-21 Behdad Esfahbod <behdad@gnome.org> * pango/pango-layout.h: Remove obsolete comment. PangoLayoutRun is not deprecated. It's just same type as PangoGlyphItem. svn path=/trunk/; revision=2454
* Bug 488840 – harfbuzz: protect against ligid overflowBehdad Esfahbod2007-10-213-1/+18
| | | | | | | | | | | | | | | 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. svn path=/trunk/; revision=2453
* Fixed my email adress in the comment.Dov Grobgeld2007-10-201-1/+1
| | | | svn path=/trunk/; revision=2452
* Implement bezier curve length function that flattens the curve and sum theBehdad Esfahbod2007-10-202-7/+75
| | | | | | | | | | | 2007-10-20 Behdad Esfahbod <behdad@gnome.org> * examples/cairotwisted.c (curve_length): Implement bezier curve length function that flattens the curve and sum the length of straight lines approximating it. svn path=/trunk/; revision=2451
* Bug 483600 – Leak of font family name inPANGO_1_18_3Behdad Esfahbod2007-10-152-0/+13
| | | | | | | | | | | | | | | | 2007-10-15 Behdad Esfahbod <behdad@gnome.org> Bug 483600 – Leak of font family name in pango_win32_font_description_from_logfont(w) Patch from Daniel Atallah * pango/pangowin32-fontmap.c (pango_win32_font_description_from_logfont), (pango_win32_font_description_from_logfontw): Free family. svn path=/trunk/; revision=2446
* Bug 486932 – Apply vkrn GPOS feature in vertical writingBehdad Esfahbod2007-10-152-2/+15
| | | | | | | | | | | | | 2007-10-15 Behdad Esfahbod <behdad@gnome.org> Bug 486932 – Apply vkrn GPOS feature in vertical writing * modules/basic/basic-fc.c (basic_engine_shape): Apply vkrn GPOS feature in vertical writing mode. Previously we had no GPOS feature for vertical mode. svn path=/trunk/; revision=2445
* Bug 481537 – compiler warning fixes Patch from Kjartan MaraasBehdad Esfahbod2007-10-1512-16/+28
| | | | | | | | | | | | | | | | | | | | | | | | 2007-10-15 Behdad Esfahbod <behdad@gnome.org> Bug 481537 – compiler warning fixes Patch from Kjartan Maraas * pango/break.c (pango_get_log_attrs): * pango/pango-attributes.c (pango_attr_list_insert_internal): * pango/pango-layout.c (process_item), (justify_clusters): * pango/pango-markup.c (span_parse_boolean): * pango/pango-ot-ruleset.c (pango_ot_ruleset_finalize), (pango_ot_ruleset_new): * pango/pango-utils.c (pango_scan_int): * pango/pangocairo-font.c (_pango_cairo_font_install): * pango/pangofc-font.c (pango_fc_font_create_metrics_for_context): * pango/pangoft2.c (load_fallback_face): * pango/pangox-fontmap.c (pango_x_get_coverage_win): * pango/pangox.c (itemize_string_foreach): Fix warnings. svn path=/trunk/; revision=2444
* Bug 485566 – Cache one OpenType BufferBehdad Esfahbod2007-10-113-4/+53
| | | | | | | | | | | | | | | | | 2007-10-11 Behdad Esfahbod <behdad@gnome.org> Bug 485566 – Cache one OpenType Buffer * pango/pango-ot-buffer.c (acquire_buffer), (release_buffer), (pango_ot_buffer_new), (pango_ot_buffer_destroy): * pango/pango-ot-private.h: Cache one HB_Buffer that is acquired using a lock. A new one is created if the shared buffer is locked. The shared buffer is cleared when released. May want to make it free shared buffer if buffer->allocated is too large. Not sure. svn path=/trunk/; revision=2443
* Mark internal symbols as HB_INTERNAL and define that to static inBehdad Esfahbod2007-10-1117-235/+322
| | | | | | | | | | | | 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. svn path=/trunk/; revision=2442
* Remove FTGLUE_API/APIDEF cruft.Behdad Esfahbod2007-10-113-24/+20
| | | | | | | | | 2007-10-11 Behdad Esfahbod <behdad@gnome.org> * pango/opentype/ftglue.[ch]: Remove FTGLUE_API/APIDEF cruft. svn path=/trunk/; revision=2441
* Build harfbuzz.c instead of individual source files, to let compiler goBehdad Esfahbod2007-10-112-4/+10
| | | | | | | | | | 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! svn path=/trunk/; revision=2440
* Same here.Behdad Esfahbod2007-10-112-1/+4
| | | | | | | | | 2007-10-11 Behdad Esfahbod <behdad@gnome.org> * pango/opentype/harfbuzz.c: Same here. svn path=/trunk/; revision=2439
* Don't include harfbuzz-dump.[ch] in libharfbuzz.a. Those are just used byBehdad Esfahbod2007-10-112-2/+7
| | | | | | | | | | 2007-10-11 Behdad Esfahbod <behdad@gnome.org> * pango/opentype/Makefile.am: Don't include harfbuzz-dump.[ch] in libharfbuzz.a. Those are just used by the harfbuzz-dump tool. svn path=/trunk/; revision=2438
* Some more cleanup.Behdad Esfahbod2007-10-112-9/+6
| | | | | | | | | 2007-10-11 Behdad Esfahbod <behdad@gnome.org> * pango/opentype/harfbuzz-buffer.c: Some more cleanup. svn path=/trunk/; revision=2437
* Move some code around.Behdad Esfahbod2007-10-112-43/+52
| | | | | | | | | 2007-10-11 Behdad Esfahbod <behdad@gnome.org> * pango/opentype/harfbuzz-buffer.c: Move some code around. svn path=/trunk/; revision=2436
* Minor.Behdad Esfahbod2007-10-111-1/+1
| | | | svn path=/trunk/; revision=2435
* Rename buffer->inplace to buffer->separate_out with the inverted meaning,Behdad Esfahbod2007-10-113-18/+24
| | | | | | | | | | | 2007-10-11 Behdad Esfahbod <behdad@gnome.org> * pango/opentype/harfbuzz-buffer.[ch]: Rename buffer->inplace to buffer->separate_out with the inverted meaning, such that buffer is initialization is memset(0). svn path=/trunk/; revision=2434
* Allocate buffer->positions lazily.Behdad Esfahbod2007-10-115-9/+41
| | | | | | | | | 2007-10-11 Behdad Esfahbod <behdad@gnome.org> * pango/opentype/*: Allocate buffer->positions lazily. svn path=/trunk/; revision=2433