summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* === Released 1.17.2 ===PANGO_1_17_2Behdad Esfahbod2007-06-043-1/+26
| | | | | | | | | | | | | 2007-06-04 Behdad Esfahbod <behdad@gnome.org> * === Released 1.17.2 === * configure.in: Version 1.17.2 * NEWS: Updated. svn path=/trunk/; revision=2330
* Fix various typos reported by Peter Moulder.Behdad Esfahbod2007-06-035-6/+14
| | | | | | | | | | | | | 2007-06-03 Behdad Esfahbod <behdad@gnome.org> * docs/tmpl/main.sgml: * pango/pango-layout.c (process_item): * pango/pango-ot-info.c: * pango/pango-renderer.c (pango_renderer_draw_layout_line): Fix various typos reported by Peter Moulder. svn path=/trunk/; revision=2329
* Rename pango_ot_ruleset_get_for() toBehdad Esfahbod2007-06-0314-42/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | 2007-06-03 Behdad Esfahbod <behdad@gnome.org> * docs/pango-sections.txt: * docs/tmpl/opentype.sgml: * modules/arabic/arabic-fc.c (arabic_engine_shape): * modules/basic/basic-fc.c (basic_engine_shape): * modules/hebrew/hebrew-fc.c (hebrew_engine_shape): * modules/indic/indic-fc.c (indic_engine_shape): * modules/khmer/khmer-fc.c (khmer_engine_shape): * modules/syriac/syriac-fc.c (syriac_engine_shape): * modules/thai/thai-fc.c (thai_engine_shape): * modules/tibetan/tibetan-fc.c (tibetan_engine_shape): * pango/pango-ot-ruleset.c (pango_ot_ruleset_get_for_description), (pango_ot_ruleset_new_from_description): * pango/pango-ot.h: * pango/pangoft2.def: Rename pango_ot_ruleset_get_for() to pango_ot_ruleset_get_for_description(). New engine API: pango_ot_ruleset_new_from_description(). svn path=/trunk/; revision=2328
* Bug 443206 – PANGO_SCRIPT_UNKNOWN should not cause a run break PatchBehdad Esfahbod2007-06-022-1/+9
| | | | | | | | | | | | | 2007-06-02 Behdad Esfahbod <behdad@gnome.org> Bug 443206 – PANGO_SCRIPT_UNKNOWN should not cause a run break Patch from Martin Hosken * pango/pango-script.c: Treat Unknown script like Common and other non-"real" scripts. svn path=/trunk/; revision=2326
* Improve docs.Behdad Esfahbod2007-05-312-0/+9
| | | | | | | | | 2007-05-31 Behdad Esfahbod <behdad@gnome.org> * pango/pango-layout.c: Improve docs. svn path=/trunk/; revision=2325
* === Released 1.17.1 ===PANGO_1_17_1Behdad Esfahbod2007-05-283-1/+46
| | | | | | | | | | | | | 2007-05-28 Behdad Esfahbod <behdad@gnome.org> * === Released 1.17.1 === * configure.in: Version 1.17.1 * NEWS: Updated. svn path=/trunk/; revision=2323
* Fix Japanese text. Patch from Ben KonrathBehdad Esfahbod2007-05-283-2/+8
| | | | | | | | | | | 2007-05-28 Behdad Esfahbod <behdad@gnome.org> * pango-view/test-mixed.markup: * pango-view/test-mixed.txt: Fix Japanese text. Patch from Ben Konrath svn path=/trunk/; revision=2322
* Fix wrong Unicode version in header.Behdad Esfahbod2007-05-252-1/+6
| | | | | | | | | | 2007-05-25 Behdad Esfahbod <behdad@gnome.org> * pango/mini-fribidi/fribidi_tab_char_type_2.i: Fix wrong Unicode version in header. svn path=/trunk/; revision=2321
* Bug 357790 – Rendering problem for malayalam consonant RA (U+0D30)Behdad Esfahbod2007-05-243-17/+9
| | | | | | | | | | | | | 2007-05-24 Behdad Esfahbod <behdad@gnome.org> Bug 357790 – Rendering problem for malayalam consonant RA (U+0D30) * modules/indic/indic-ot-class-tables.c: * modules/indic/indic-ot.c (indic_ot_reorder): Commit remaining fix for malayalam. svn path=/trunk/; revision=2320
* Add stability note.Behdad Esfahbod2007-05-245-5/+14
| | | | | | | | | | | | 2007-05-24 Behdad Esfahbod <behdad@gnome.org> * docs/tmpl/opentype.sgml: * docs/tmpl/pango-engine-lang.sgml: * docs/tmpl/pango-engine-shape.sgml: Add stability note. svn path=/trunk/; revision=2319
* Document how Pango's vertical text support works.Behdad Esfahbod2007-05-242-0/+20
| | | | | | | | | | 2007-05-24 Behdad Esfahbod <behdad@gnome.org> * docs/tmpl/vertical.sgml: Document how Pango's vertical text support works. svn path=/trunk/; revision=2318
* Part of Bug 440603 – Minor ABI changeBehdad Esfahbod2007-05-232-3/+19
| | | | | | | | | | | | | | | 2007-05-23 Behdad Esfahbod <behdad@gnome.org> Part of Bug 440603 – Minor ABI change * pango/pango-context.c (pango_context_init), (pango_context_set_language), (pango_context_get_language): Make itemization use pango_language_get_default() if context has no language set on it. Ditto for pango_context_get_metrics() if both input language and context language are NULL. svn path=/trunk/; revision=2317
* New test text for N'Ko.Behdad Esfahbod2007-05-233-0/+22
| | | | | | | | | | | 2007-05-22 Behdad Esfahbod <behdad@gnome.org> * pango-view/Makefile.am: * pango-view/test-nko.txt: New test text for N'Ko. svn path=/trunk/; revision=2316
* Bug 440603 – Minor ABI changeBehdad Esfahbod2007-05-233-11/+20
| | | | | | | | | | | | | 2007-05-22 Behdad Esfahbod <behdad@gnome.org> Bug 440603 – Minor ABI change * pango/pango-language.c (pango_language_includes_script): * pango/pango-ot-tag.c (pango_ot_tag_from_language): Accept language == NULL as legitimate input. svn path=/trunk/; revision=2315
* Improve the fix for bug #433805 so that the metrics actually are right,Richard Hult2007-05-202-1/+7
| | | | | | | | | | 2007-05-20 Richard Hult <richard@imendio.com> * pango/pangocairo-atsuifont.c: (_pango_cairo_atsui_font_new): Improve the fix for bug #433805 so that the metrics actually are right, thanks to Mitch for noticing and debugging help. svn path=/trunk/; revision=2314
* Bug 438705 – Test runs non-existent "/bin/bash" on HP-UX 11.11Behdad Esfahbod2007-05-163-2/+10
| | | | | | | | | | | | | 2007-05-16 Behdad Esfahbod <behdad@gnome.org> Bug 438705 – Test runs non-existent "/bin/bash" on HP-UX 11.11 * docs/check.docs: * pango/check.defs: Use /bin/sh instead of /bin/bash. svn path=/trunk/; revision=2313
* Add a test file showing off OpenType language-system support used withBehdad Esfahbod2007-05-163-0/+13
| | | | | | | | | | | | 2007-05-16 Behdad Esfahbod <behdad@gnome.org> * pango-view/Makefile.am: * pango-view/test-opentype-language.markup: Add a test file showing off OpenType language-system support used with DejaVu Sans. svn path=/trunk/; revision=2312
* Bug 438814 – synaptic crash with pango 1.17.0Behdad Esfahbod2007-05-162-1/+8
| | | | | | | | | | | | 2007-05-16 Behdad Esfahbod <behdad@gnome.org> Bug 438814 – synaptic crash with pango 1.17.0 * pango/pango-layout.c (process_item): Make sure we find some break point even if overflowing the line. svn path=/trunk/; revision=2311
* Port to new OpenType APIs. Add standard features.Behdad Esfahbod2007-05-162-118/+57
| | | | | | | | | | 2007-05-15 Behdad Esfahbod <behdad@gnome.org> * modules/hebrew/hebrew-fc.c (hebrew_engine_shape): Port to new OpenType APIs. Add standard features. svn path=/trunk/; revision=2310
* Port to new OpenType APIs and cleanup a bit. Add standard features.Behdad Esfahbod2007-05-167-331/+115
| | | | | | | | | | | | | | | | | | | 2007-05-15 Behdad Esfahbod <behdad@gnome.org> * modules/thai/Makefile.am: * modules/thai/thai-fc.c (thai_get_font_info), (thai_engine_shape), (thai_make_unknown_glyph): * modules/thai/thai-shaper.c (get_glyphs_list), (add_cluster), (thai_set_glyphs): * modules/thai/thai-shaper.h: Port to new OpenType APIs and cleanup a bit. Add standard features. * modules/thai/thai-ot.c: * modules/thai/thai-ot.h: Removed. Not needed anymore. svn path=/trunk/; revision=2309
* Add bug referencesBehdad Esfahbod2007-05-161-0/+4
| | | | svn path=/trunk/; revision=2308
* Port to new OpenType APIs. Add standard features (ccmp, locl, calt, kern,Behdad Esfahbod2007-05-163-196/+90
| | | | | | | | | | | | 2007-05-15 Behdad Esfahbod <behdad@gnome.org> * modules/khmer/khmer-fc.c (khmer_engine_shape): * modules/tibetan/tibetan-fc.c (tibetan_engine_shape): Port to new OpenType APIs. Add standard features (ccmp, locl, calt, kern, mark, mkmk). svn path=/trunk/; revision=2307
* Add ccmp, locl, calt; kern, mark, and mkmk features.Behdad Esfahbod2007-05-162-2/+13
| | | | | | | | | | 2007-05-15 Behdad Esfahbod <behdad@gnome.org> * modules/indic/indic-fc.c: Add ccmp, locl, calt; kern, mark, and mkmk features. svn path=/trunk/; revision=2306
* Add new engine API:Behdad Esfahbod2007-05-161-0/+15
| | | | | | | | | | | | | | | | | | | | 2007-05-15 Behdad Esfahbod <behdad@gnome.org> * pango/pango-ot.h: * pango/pango-ot-private.h: * pango/pango-ot-ruleset.c (pango_ot_ruleset_add_feature), (pango_ot_ruleset_get_feature_count): Add new engine API: pango_ot_ruleset_get_feature_count() * docs/pango-sections.txt: * docs/tmpl/opentype.sgml: * pango/pangoft2.def: Updated. svn path=/trunk/; revision=2305
* Add new engine API:Behdad Esfahbod2007-05-166-0/+48
| | | | | | | | | | | | | | | | | | | | 2007-05-15 Behdad Esfahbod <behdad@gnome.org> * pango/pango-ot.h: * pango/pango-ot-private.h: * pango/pango-ot-ruleset.c (pango_ot_ruleset_add_feature), (pango_ot_ruleset_get_feature_count): Add new engine API: pango_ot_ruleset_get_feature_count() * docs/pango-sections.txt: * docs/tmpl/opentype.sgml: * pango/pangoft2.def: Updated. svn path=/trunk/; revision=2304
* Move ruleset creation after populating buffer.Behdad Esfahbod2007-05-154-52/+58
| | | | | | | | | | | | 2007-05-15 Behdad Esfahbod <behdad@gnome.org> * modules/arabic/arabic-fc.c (arabic_engine_shape): * modules/basic/basic-fc.c (basic_engine_shape): * modules/syriac/syriac-fc.c (syriac_engine_shape): Move ruleset creation after populating buffer. svn path=/trunk/; revision=2303
* Port to new OpenType APIs.Behdad Esfahbod2007-05-152-146/+53
| | | | | | | | | | 2007-05-15 Behdad Esfahbod <behdad@gnome.org> * modules/indic/indic-fc.c (indic_engine_shape), (create): Port to new OpenType APIs. svn path=/trunk/; revision=2302
* Bug 436699 – N'Ko support Patch by Eugeniy MeshcheryakovBehdad Esfahbod2007-05-153-0/+49
| | | | | | | | | | | | | | 2007-05-15 Behdad Esfahbod <behdad@gnome.org> Bug 436699 – N'Ko support Patch by Eugeniy Meshcheryakov * modules/arabic/arabic-fc.c (create): * modules/arabic/arabic-ot.c (Get_Joining_Class): Add N'Ko support to the Arabic module. svn path=/trunk/; revision=2301
* Bug 433805 - [Atsui] Approximate char/digit width width often 0Richard Hult2007-05-153-10/+151
| | | | | | | | | | | | | | | | 2007-05-15 Richard Hult <richard@imendio.com> Bug 433805 - [Atsui] Approximate char/digit width width often 0 * pango/pangocairo-atsuifont.c: (pango_cairo_atsui_font_get_metrics): Improve the metrics so it really is average instead of max glyph width. Also keep the metrics per language in the font so it's not constantly recreated. (pango_cairo_atsui_font_describe_absolute): Implement. * pango/pangocairo-atsuifontmap.c: Set default resolution. svn path=/trunk/; revision=2300
* Add various test txt files recently added.Behdad Esfahbod2007-05-153-0/+21
| | | | | | | | | | | | | 2007-05-15 Behdad Esfahbod <behdad@gnome.org> * pango-view/Makefile.am: Add various test txt files recently added. * pango-view/test-mixed.markup: A language-tagged version of test-mixed.txt. svn path=/trunk/; revision=2299
* === Released 1.17.0 ===PANGO_1_17_0Behdad Esfahbod2007-05-143-3/+137
| | | | | | | | | | | | | 2007-05-14 Behdad Esfahbod <behdad@gnome.org> * === Released 1.17.0 === * configure.in: Version 1.17.0 * NEWS: Updated. svn path=/trunk/; revision=2297
* Update to api changesBehdad Esfahbod2007-05-141-4/+4
| | | | svn path=/trunk/; revision=2296
* Update.Behdad Esfahbod2007-05-141-0/+8
| | | | svn path=/trunk/; revision=2295
* Bug 325714 – Pango should respect $LANGUAGEBehdad Esfahbod2007-05-142-1/+115
| | | | | | | | | | | | | | | | | | 2007-05-14 Behdad Esfahbod <behdad@gnome.org> Bug 325714 – Pango should respect $LANGUAGE * pango/pango-language.c (pango_language_matches), (parse_default_languages), (_pango_script_get_default_language), (pango_script_get_sample_language): Make pango_script_get_sample_language() use the value of env var PANGO_LANGUAGE or LANGUAGE (checked in that order) to make better guesses. The env var should be a list of language tags, like "en:fa" for example where makes Pango choose Persian (fa) fonts instead of Arabic (ar) fonts... svn path=/trunk/; revision=2294
* Move pango_script_get_sample_language() from pango-script.c toBehdad Esfahbod2007-05-143-132/+139
| | | | | | | | | | | 2007-05-14 Behdad Esfahbod <behdad@gnome.org> * pango/pango-language.c (pango_script_get_sample_language): * pango/pango-script.c: Move pango_script_get_sample_language() from pango-script.c to pango-language.c. Fits better. svn path=/trunk/; revision=2293
* Part of Bug 325714 – Pango should respect $LANGUAGE Bug 414264 – PangoBehdad Esfahbod2007-05-144-701/+196
| | | | | | | | | | | | | | | | | | | | | | | | | 2007-05-14 Behdad Esfahbod <behdad@gnome.org> Part of Bug 325714 – Pango should respect $LANGUAGE Bug 414264 – Pango vertical writing support is different with real CJK usage. * modules/arabic/arabic-fc.c (arabic_engine_shape): * modules/basic/basic-fc.c (basic_engine_shape): * modules/syriac/syriac-fc.c (syriac_engine_shape): Remove fallback_shape() paths. Remove get_ruleset(). Use pango_ot_ruleset_get_for(), that correctly works for multiple languages. Also makes basic shaper apply the 'vert' feature for vertical text. Removes a net 500 lines. Other OpenType modules need to be ported over time, however some extensions may be needed. For example, the Hebrew shaper uses fallback code if no GPOS tables are available. Currently using pango_ot_ruleset_get_for() one cannot see which features were found. svn path=/trunk/; revision=2292
* Part of Bug 414264 – Pango vertical writing support is different withBehdad Esfahbod2007-05-142-0/+9
| | | | | | | | | | | | | 2007-05-14 Behdad Esfahbod <behdad@gnome.org> Part of Bug 414264 – Pango vertical writing support is different with real CJK usage. * pango-view/test-mixed.txt: Add a line of Japanese text that has brackets that should be rotated in vertical text. svn path=/trunk/; revision=2291
* Part of Bug 325714 – Pango should respect $LANGUAGEBehdad Esfahbod2007-05-147-16/+375
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-05-14 Behdad Esfahbod <behdad@gnome.org> Part of Bug 325714 – Pango should respect $LANGUAGE * pango/pango-ot.h: * pango/pango-ot-ruleset.c (pango_ot_ruleset_get_for), (pango_ot_ruleset_description_hash), (pango_ot_ruleset_description_equal), (pango_ot_ruleset_description_copy), (pango_ot_ruleset_description_free): Add new engine API: PangoOTRulesetDescription pango_ot_ruleset_get_for() pango_ot_ruleset_description_hash() pango_ot_ruleset_description_equal() pango_ot_ruleset_description_copy() pango_ot_ruleset_description_free() The main addition is pango_ot_ruleset_get_for() that takes a ruleset description, ie. script/language and list of GSUB/GPOS features to apply, and returns a ruleset. It manages all the work to cache rulesets, so modules don't have to do that anymore. Given that modules do not deal with just one ruleset anymore (because we want to respect language, and allow user-selected features), this makes their life way easier. * docs/pango-sections.txt: * docs/tmpl/opentype.sgml: Update. svn path=/trunk/; revision=2290
* Add a FIXMEBehdad Esfahbod2007-05-141-1/+4
| | | | svn path=/trunk/; revision=2289
* Mark some arguments const.Behdad Esfahbod2007-05-144-18/+27
| | | | | | | | | | | | | | 2007-05-14 Behdad Esfahbod <behdad@gnome.org> * pango/pango-ot-buffer.c (pango_ot_buffer_get_glyphs), (pango_ot_buffer_output): * pango/pango-ot-ruleset.c (pango_ot_ruleset_substitute), (pango_ot_ruleset_position): * pango/pango-ot.h: Mark some arguments const. svn path=/trunk/; revision=2288
* Part of Bug 325714 – Pango should respect $LANGUAGEBehdad Esfahbod2007-05-141-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-05-13 Behdad Esfahbod <behdad@gnome.org> Part of Bug 325714 – Pango should respect $LANGUAGE * pango/pango-ot.h: * pango/pango-ot-private.h: * pango/pango-ot-tag.c (pango_ot_tag_from_script), (pango_ot_tag_from_language): * pango/pango-ot-info.c (pango_ot_info_find_script), (pango_ot_info_find_language), (pango_ot_info_find_feature), (pango_ot_info_list_languages), (pango_ot_info_list_features): * pango/pango-ot-ruleset.c (pango_ot_ruleset_new), (pango_ot_ruleset_new_for), (pango_ot_ruleset_add_feature), (pango_ot_ruleset_maybe_add_feature), (pango_ot_ruleset_maybe_add_features): Add new engine API: PANGO_OT_NO_FEATURE PANGO_OT_NO_SCRIPT PANGO_OT_TAG_DEFAULT_SCRIPT PANGO_OT_TAG_DEFAULT_LANGUAGE pango_ot_ruleset_new_for() pango_ot_ruleset_maybe_add_feature() pango_ot_ruleset_maybe_add_features() Using pango_ot_ruleset_new_for() and pango_ot_ruleset_maybe_add_features() drastically simplifies ruleset building in modules, and does correct script and language selection too. Modules need to be updated to use it though. * docs/pango-docs.sgml: * docs/pango-sections.txt: * docs/tmpl/opentype.sgml: Update. svn path=/trunk/; revision=2285
* Part of Bug 325714 – Pango should respect $LANGUAGEBehdad Esfahbod2007-05-1410-45/+481
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-05-13 Behdad Esfahbod <behdad@gnome.org> Part of Bug 325714 – Pango should respect $LANGUAGE * pango/pango-ot.h: * pango/pango-ot-private.h: * pango/pango-ot-tag.c (pango_ot_tag_from_script), (pango_ot_tag_from_language): * pango/pango-ot-info.c (pango_ot_info_find_script), (pango_ot_info_find_language), (pango_ot_info_find_feature), (pango_ot_info_list_languages), (pango_ot_info_list_features): * pango/pango-ot-ruleset.c (pango_ot_ruleset_new), (pango_ot_ruleset_new_for), (pango_ot_ruleset_add_feature), (pango_ot_ruleset_maybe_add_feature), (pango_ot_ruleset_maybe_add_features): Add new engine API: PANGO_OT_NO_FEATURE PANGO_OT_NO_SCRIPT PANGO_OT_TAG_DEFAULT_SCRIPT PANGO_OT_TAG_DEFAULT_LANGUAGE pango_ot_ruleset_new_for() pango_ot_ruleset_maybe_add_feature() pango_ot_ruleset_maybe_add_features() Using pango_ot_ruleset_new_for() and pango_ot_ruleset_maybe_add_features() drastically simplifies ruleset building in modules, and does correct script and language selection too. Modules need to be updated to use it though. * docs/pango-docs.sgml: * docs/pango-sections.txt: * docs/tmpl/opentype.sgml: Update. svn path=/trunk/; revision=2284
* Add --language.Behdad Esfahbod2007-05-142-2/+12
| | | | | | | | | | 2007-05-13 Behdad Esfahbod <behdad@gnome.org> * pango-view/viewer-render.c (do_output), (parse_options): Add --language. svn path=/trunk/; revision=2283
* Use PANGO_OT_DEFAULT_LANGUAGE and PANGO_OT_ALL_GLYPHS instead of hardcodedBehdad Esfahbod2007-05-109-75/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | 2007-05-10 Behdad Esfahbod <behdad@gnome.org> * modules/arabic/arabic-fc.c (maybe_add_gsub_feature), (maybe_add_gpos_feature), (get_ruleset): * modules/basic/basic-fc.c (get_ruleset): * modules/hebrew/hebrew-fc.c (maybe_add_gsub_feature), (maybe_add_gpos_feature), (get_ruleset): * modules/indic/indic-fc.c (maybe_add_GSUB_feature), (maybe_add_GPOS_feature): * modules/khmer/khmer-fc.c (maybe_add_GSUB_feature), (maybe_add_GPOS_feature): * modules/syriac/syriac-fc.c (maybe_add_gsub_feature), (maybe_add_gpos_feature), (get_ruleset): * modules/thai/thai-ot.c (maybe_add_gsub_feature), (maybe_add_gpos_feature), (thai_ot_get_ruleset), (lao_ot_get_ruleset): * modules/tibetan/tibetan-fc.c (maybe_add_GSUB_feature), (maybe_add_GPOS_feature): Use PANGO_OT_DEFAULT_LANGUAGE and PANGO_OT_ALL_GLYPHS instead of hardcoded 0xFFFF. svn path=/trunk/; revision=2282
* Split ChangeLog.Behdad Esfahbod2007-05-102-1823/+1831
| | | | | | | | | 2007-05-10 Behdad Esfahbod <behdad@gnome.org> * ChangeLog.pre-1-16: Split ChangeLog. svn path=/trunk/; revision=2275
* New public API:Behdad Esfahbod2007-05-1011-24/+695
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-05-10 Behdad Esfahbod <behdad@gnome.org> * pango/Makefile.am: * pango/pango-ot.h: * pango/pango-ot-tag.c (pango_ot_tag_from_script), (pango_ot_tag_to_script), (lang_compare_first_component), (pango_ot_tag_from_language), (pango_ot_tag_to_language): New public API: PANGO_OT_DEFAULT_SCRIPT pango_ot_tag_from_script() pango_ot_tag_to_script() pango_ot_tag_from_language() pango_ot_tag_to_language() * tests/Makefile.am: * tests/test-ot-tags.c: Test case for new functions. * pango/pangoft2.def: * docs/pango-docs.sgml: * docs/pango-sections.txt: * docs/tmpl/main.sgml: * docs/tmpl/opentype.sgml: Updated. svn path=/trunk/; revision=2274
* Bug 437534 – pango_language_includes_script is buggyBehdad Esfahbod2007-05-102-30/+53
| | | | | | | | | | | | | 2007-05-10 Behdad Esfahbod <behdad@gnome.org> Bug 437534 – pango_language_includes_script is buggy * pango/pango-language.c (lang_compare_first_component), (lang_info_compare), (script_for_lang_compare), (pango_language_includes_script): Fix script_for_lang table lookup. svn path=/trunk/; revision=2273
* Don't set gravity in pango_fc_font_description_from_pattern() if it wasBehdad Esfahbod2007-05-102-8/+13
| | | | | | | | | | | | | | 2007-05-10 Behdad Esfahbod <behdad@gnome.org> * pango/pangofc-fontmap.c (pango_fc_font_description_from_pattern), (pango_fc_face_describe): Don't set gravity in pango_fc_font_description_from_pattern() if it was not set on the pattern. This is a bit different from other properties, but that really is how gravity works (unlike say weight that not having it said means normal weight). svn path=/trunk/; revision=2272
* Update from latest fontconfig sources.Behdad Esfahbod2007-05-093-2/+18
| | | | | | | | | | | | | 2007-05-09 Behdad Esfahbod <behdad@gnome.org> * pango/pango-script-lang-table.h: Update from latest fontconfig sources. * tools/gen-script-for-lang.c (scripts_for_line): Make it handle PANGO_SCRIPT_UNKNOWN. svn path=/trunk/; revision=2271
* Move pango_language_includes_script() from pango-script.c toBehdad Esfahbod2007-05-093-88/+99
| | | | | | | | | | | | 2007-05-09 Behdad Esfahbod <behdad@gnome.org> * pango/pango-language.c (script_for_lang_compare), (pango_language_includes_script): * pango/pango-script.c: Move pango_language_includes_script() from pango-script.c to pango-language.c that it belongs. svn path=/trunk/; revision=2270