| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
2009-01-06 Behdad Esfahbod <behdad@gnome.org>
Bug 551469 – Fold '@' to '-' when parsing PangoLanguages
* pango/pango-language.c: Fold '@' to '-' when parsing PangoLanguages.
svn path=/trunk/; revision=2792
|
|
|
|
|
|
|
|
|
|
|
| |
2008-11-19 Behdad Esfahbod <behdad@gnome.org>
Bug 560730 – pango 1.22.2 build failure on Solaris 10, too many array
initializers in pango-language.c
* pango/pango-language.c: Don't use anonymous struct.
svn path=/trunk/; revision=2738
|
|
|
|
| |
svn path=/trunk/; revision=2703
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-20 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-language.c (pango_language_private_init),
(pango_language_get_private), (pango_language_from_string),
(find_best_lang_match), (find_best_lang_match_cached),
(pango_language_get_sample_string), (pango_language_get_scripts):
Cache language information to avoid bsearch()ing all the time.
svn path=/trunk/; revision=2701
|
|
|
|
| |
svn path=/trunk/; revision=2700
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-20 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-language.c (find_best_lang_match),
(pango_language_get_sample_string), (pango_language_get_scripts),
(pango_script_get_sample_language):
Cleanup bsearching in language arrays.
Add some language codes for scripts.
svn path=/trunk/; revision=2699
|
|
|
|
|
|
|
|
|
| |
2008-08-20 Murray Cumming <murrayc@murrayc.com>
* pango/pango-language.c: pango_language_get_scripts(): Fix a
tiny typo in the documentation.
svn path=/trunk/; revision=2698
|
|
|
|
| |
svn path=/trunk/; revision=2697
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-20 Behdad Esfahbod <behdad@gnome.org>
Bug 314094 – Get rid of poutpourri default sample string
* pango/pango-language-sample-table.h:
* pango/pango-language.c (pango_language_get_sample_string):
Use default language if provided language to get_sample_string()
is NULL.
svn path=/trunk/; revision=2696
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-19 Behdad Esfahbod <behdad@gnome.org>
Bug 473806 – Improve pango_language_get_sample_string()
* docs/Makefile.am:
* pango/Makefile.am:
* pango/pango-language-sample-table.h:
* pango/pango-language.c (pango_language_get_sample_string):
Add language sample texts that are actually usable. Compiled from
a variety of sources. See pango-language-sample-table.h.
svn path=/trunk/; revision=2695
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-18 Behdad Esfahbod <behdad@gnome.org>
Bug 473805 – Add API enumerating scripts for a language
* docs/Makefile.am:
* docs/pango-sections.txt:
* docs/tmpl/scripts.sgml:
* docs/tmpl/text-attributes.sgml:
* docs/tmpl/utils.sgml:
* pango/pango-language.c (pango_language_get_scripts),
(pango_language_includes_script),
(pango_script_get_sample_language):
* pango/pango-language.h:
* pango/pango-script.c:
* pango/pango.def:
Add a minor new public API:
pango_language_get_scripts()
This is what pango_language_includes_script() has been using
internally. Previously one had to call that function over all
possible script values to determine which scripts a language
uses. The new API makes that much easier.
svn path=/trunk/; revision=2693
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-06-21 Johan Dahlin <jdahlin@async.com.br>
* *.[ch]: Include "config.h" instead of <config.h>
Command used:
find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
Rubberstamped by Behdad
svn path=/trunk/; revision=2657
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-06-09 Behdad Esfahbod <behdad@gnome.org>
Bug 537258 – Add a pango_language_to_string() function
* docs/tmpl/text-attributes.sgml:
* pango/pango-language.c (pango_language_to_string):
* pango/pango-language.h:
* pango/pango.def:
Add a function implementation of pango_language_to_string().
The macro is still available. To be removed in a cycle or two from
now. (bug #537466)
svn path=/trunk/; revision=2651
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-06-09 Behdad Esfahbod <behdad@gnome.org>
Bug 537257 – pango_language_from_string(NULL) not happy
* pango/pango-language.c (pango_language_from_string):
Allow NULL.
svn path=/trunk/; revision=2650
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-08-20 Behdad Esfahbod <behdad@gnome.org>
Bug 348348 – Add a way to get the script name of a gunichar
* configure.in: Require glib 2.14, for GUnicodeScript stuff.
* docs/tmpl/scripts.sgml: Document that #PangoScript is
interchangeable with GUnicodeScript.
* pango/pango-script.c (pango_script_for_unichar): Use
g_unichar_get_script(), and document it.
* tools/Makefile.am:
* tools/gen-script-table.pl:
* pango/Makefile.am:
* pango/pango-script-table.h:
Remove pango-script-table.h and its generator.
* pango/pango-gravity.c (get_script_properties):
* pango/pango-language.c (pango_script_get_sample_language):
* pango/pango-ot-tag.c (pango_ot_tag_from_script):
Protect against unexpected script values.
svn path=/trunk/; revision=2406
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-06-20 Behdad Esfahbod <behdad@gnome.org>
* pango/fonts.c (pango_font_description_get_type),
(pango_font_metrics_get_type):
* pango/glyphstring.c (pango_glyph_string_get_type):
* pango/pango-attributes.c (pango_attr_list_get_type):
* pango/pango-color.c (pango_color_get_type):
* pango/pango-item.c (pango_item_get_type):
* pango/pango-language.c (pango_language_get_type):
* pango/pango-layout.c (pango_layout_line_get_type),
(pango_layout_iter_get_type):
* pango/pango-matrix.c (pango_matrix_get_type):
* pango/pango-ot-info.c (pango_ot_info_get_type):
* pango/pango-ot-ruleset.c (pango_ot_ruleset_get_type):
* pango/pango-tabs.c (pango_tab_array_get_type):
* pango/pangoatsui-fontmap.c (pango_atsui_family_get_type),
(pango_atsui_face_get_type):
* pango/pangofc-fontmap.c (pango_fc_face_get_type),
(pango_fc_family_get_type):
* pango/pangowin32-fontmap.c (pango_win32_family_get_type),
(pango_win32_face_get_type):
* pango/pangox-fontmap.c (pango_x_font_map_get_type),
(pango_x_face_get_type), (pango_x_family_get_type):
* pango/pangox.c (pango_x_font_get_type):
Add G_UNLIKELY() to type registration block in _get_type() functions.
svn path=/trunk/; revision=2364
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-06-11 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-attributes.h:
* pango/pango-font.h:
* pango/pango-glyph.h:
* pango/pango-gravity.h:
* pango/pango-language.h:
* pango/pango-layout.h:
* pango/pango-matrix.h:
* pango/pango-ot-private.h:
* pango/pango-ot.h:
* pango/pango-renderer.h:
* pango/pango-script.h:
* pango/pango-tabs.h:
* pango/pango-utils.h:
* pango/pangoatsui-private.h:
* pango/pangocairo-atsui.h:
* pango/pangocairo-atsuifont.h:
* pango/pangocairo-fc.h:
* pango/pangocairo-private.h:
* pango/pangocairo-win32.h:
* pango/pangocairo.h:
* pango/pangofc-decoder.h:
* pango/pangofc-font.h:
* pango/pangofc-fontmap.h:
* pango/pangoft2-private.h:
* pango/pangoft2.h:
* pango/pangowin32-private.h:
* pango/pangox-private.h:
* pango/pangoxft-render.h:
* pango/pangoxft.h:
Add G_GNUC_CONST and G_GNUC_PURE annotations.
svn path=/trunk/; revision=2345
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
2007-05-08 Behdad Esfahbod <behdad@gnome.org>
* pango/Makefile.am:
* pango/pango-script.h:
* pango/pango-types.h:
* pango/pango-utils.c:
* pango/pango-language.c:
* pango/pango-language.h:
Move PangoLanguage stuff into pango-language.[ch]
svn path=/trunk/; revision=2268
|