summaryrefslogtreecommitdiff
path: root/pango
Commit message (Collapse)AuthorAgeFilesLines
...
* Do not add GLIB_CFLAGS to CFLAGS.Sebastian Wilhelmi2002-11-263-6/+9
| | | | | | | | | | | | | | | | 2002-11-26 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * configure.in: Do not add GLIB_CFLAGS to CFLAGS. * docs/Makefile.am, examples/Makefile.am, modules/arabic/Makefile.am, modules/basic/Makefile.am, modules/hangul/Makefile.am, modules/hebrew/Makefile.am, modules/indic/Makefile.am, modules/tamil/Makefile.am, modules/thai/Makefile.am, pango/Makefile.am, pango/mini-fribidi/Makefile.am, pango/opentype/Makefile.am: Instead add $(GLIB_CFLAGS) directly to INCLUDES (GTKDOC_CFLAGS for docs/Makefile.am). Also some cosmetic line wrapping and reindentation.
* Clarify the meaning of the @end parameter. (#96843, Jungshik Shin)Owen Taylor2002-11-261-1/+2
| | | | | | | | Mon Nov 25 20:25:23 2002 Owen Taylor <otaylor@redhat.com> * pango/glyphstring.c (pango_glyph_string_extents_range): Clarify the meaning of the @end parameter. (#96843, Jungshik Shin)
* Remove some confusing left over verbiage in API docs about what fontOwen Taylor2002-11-261-2/+1
| | | | | | | | | Mon Nov 25 19:57:02 2002 Owen Taylor <otaylor@redhat.com> * pango/fonts.c (pango_font_description_free): Remove some confusing left over verbiage in API docs about what font descriptions could be freed. (#96558, Michael R. Walton.)
* Fix off-by-one in check for non-BMP characters. (#91834, He Qiangqiang)Owen Taylor2002-11-261-1/+1
| | | | | | | | Mon Nov 25 19:24:29 2002 Owen Taylor <otaylor@redhat.com> * pango/mini-fribidi/fribidi_get_type.c (_pango_fribidi_get_type): Fix off-by-one in check for non-BMP characters. (#91834, He Qiangqiang)
* Add more debugging output.Tor Lillqvist2002-11-121-2/+6
| | | | | | | | | | | | | 2002-11-12 Tor Lillqvist <tml@iki.fi> * pango/pangowin32-fontcache.c (free_cache_entry, cache_entry_unref, pango_win32_font_cache_load): Add more debugging output. * modules/basic/basic-win32.c (uniscribe_shape): Plug memory leak: Free return value from pango_win32_font_logfont(). Call pango_win32_font_cache_unload() for the hfont returned from pango_win32_font_cache_load() after using it.
* Trivial s/foo/foo_/ fixes to make pango.h includable with -WshadowSoeren Sandmann2002-11-087-27/+27
| | | | | | | | | | | | | | | | | | | Fri Nov 8 20:02:09 2002 Soeren Sandmann <sandmann@daimi.au.dk> * docs/tmpl/coverage-maps.sgml: * docs/tmpl/glyphs.sgml: * docs/tmpl/layout.sgml: * docs/tmpl/x-fonts.sgml: * pango/mapping.c: * pango/pango-coverage.c: * pango/pango-coverage.h: * pango/pango-glyph.h: * pango/pango-layout.c: * pango/pango-layout.h: * pango/pangox.h: Trivial s/foo/foo_/ fixes to make pango.h includable with -Wshadow (#91680).
* === Released 1.1.3 ===PANGO_1_1_3Owen Taylor2002-11-022-0/+2
| | | | | | | | | | | | | | Fri Nov 1 21:08:42 2002 Owen Taylor <otaylor@redhat.com> * === Released 1.1.3 === * configure.in: Version 1.1.3 * NEWS: Updated. * pango/pangofc-fontmap.cI (pango_fc_font_set_free): Free font_set->patterns. (Found by Sven Neumann, #91698)
* Don't break at the first char in the first item on a line. FixesAlexander Larsson2002-10-231-3/+6
| | | | | | | | 2002-10-23 Alexander Larsson <alexl@redhat.com> * pango/pango-layout.c (can_break_in): Don't break at the first char in the first item on a line. Fixes regression in linebreaking (#95900).
* Add --with-usp10 flag to indicate where to find the usp10.h header, forTor Lillqvist2002-10-215-91/+199
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-10-22 Tor Lillqvist <tml@iki.fi> * configure.in: Add --with-usp10 flag to indicate where to find the usp10.h header, for using Uniscribe on Win32. Set USP10_H autoconf variable, HAVE_USP10_H config.h macro and HAVE_USP10_H automake conditional. * acconfig.h: Add HAVE_USP10_H. * pango/pangowin32-private.h (PANGO_WIN32_DEBUGGING): Change semantics of this flag. If defined, also need to set env var PANGO_WIN32_DEBUG to get the copious debugging output. Change PING() macro accordingly. Add variable pango_win32_debug. * pango/pangowin32.c (pango_win32_get_dc): New function. Code factored out from pango_win32_font_class_init() and pango_win32_font_map_class_init(). (pango_win32_get_debug_flag): New function. (pango_win32_render): Handle y offsets, too. Potentially need to call ExtTextOutW several times, one for each run of sequential glyphs with the same y offset. * pango/pangowin32.h: Declare above new functions, in the part only for shaper engine use. * pango/pangowin32.def: Export above new functions. * pango/pangowin32-fontmap.c (pango_win32_font_map_class_init): Call pango_win32_get_dc() as mentioned above. * modules/basic/Makefile.am: If HAVE_USP10_H, let basic-win32.lo depend on usp10.h. * modules/basic/basic-win32.c: If HAVE_USP10_H, and the Uniscribe DLL usp10.dll is present, use Uniscribe. (uniscribe_shape, itemize_shape_and_place, set_up_pango_log_clusters, convert_log_clusters_to_byte_offsets, make_langid, init_uniscribe): New functions. (dump_glyphs_and_log_clusters, lang_name, charset_name): Debugging functions.
* Get rid of unnecessary casts for g_object_{ref,unref}Manish Singh2002-10-1412-38/+38
| | | | | | | | | | Mon Oct 14 15:39:41 2002 Manish Singh <yosh@gimp.org> * pango/pango-context.c pango/pango-layout.c pango/pangoft2.c pango/pangowin32-fontmap.c pango/pangowin32.c pango/pangox-fontmap.c pango/pangox.c pango/pangoxft-font.c pango/pangoxft-fontmap.c pango/testfonts.c pango/opentype/pango-ot-ruleset.c: Get rid of unnecessary casts for g_object_{ref,unref}
* Add, implement and document PANGO_WRAP_WORD_CHARAlexander Larsson2002-10-042-50/+72
| | | | | | | | 2002-10-04 Alexander Larsson <alexl@redhat.com> * pango/pango-layout.[ch]: * docs/tmpl/layout.sgml: Add, implement and document PANGO_WRAP_WORD_CHAR
* ligatures can be also used in MarkBasePos lookups. (2001-03-17 WernerOwen Taylor2002-09-291-3/+10
| | | | | | | Sun Sep 29 14:55:36 2002 Owen Taylor <otaylor@redhat.com> * pango/opentype/ftxgpos.c: ligatures can be also used in MarkBasePos lookups. (2001-03-17 Werner Lemberg)
* Start of merges from freetype1 of OpenType fixes.Owen Taylor2002-09-293-10/+13
| | | | | | | | | | | Sun Sep 29 14:51:25 2002 Owen Taylor <otaylor@redhat.com> Start of merges from freetype1 of OpenType fixes. (2001-03-17 Werner Lemberg) * pango/opentype/ftxgdef.c pango/opentype/ftxgpos.c pango/opentype/ftxg\sub.c: More fixes for special marks.
* Revert change from 2002-09-21: Don't bypass the code that automaticallyTor Lillqvist2002-09-281-2/+4
| | | | | | | | | | | | | 2002-09-28 Tor Lillqvist <tml@iki.fi> * pango/pangowin32-fontmap.c (pango_win32_insert_font): Revert change from 2002-09-21: Don't bypass the code that automatically adds fonts to the families "monospace", "serif" and "sans". I thought it would be unnecessary if you have a pango.aliases that sets up aliases for these family names, but apparently not. Without this code, pango_layout_line_get_empty_extents() thinks empty lines have zero height, as it tries to use a font called "sans" for instance, and no aliases get used.
* INCLUDED_WIN32_MODULES was missing from a couple of places. (#93372)Tor Lillqvist2002-09-251-2/+2
| | | | | | | 2002-09-25 Tor Lillqvist <tml@iki.fi> * pango/Makefile.am: INCLUDED_WIN32_MODULES was missing from a couple of places. (#93372)
* Merge from pango-1-0:Tor Lillqvist2002-09-242-35/+101
| | | | | | | | | | | | | | | | | | | | | | | 2002-09-24 Tor Lillqvist <tml@iki.fi> * pango/pangowin32.c: Use PANGO_PIXELS macro throughout instead of dividing by PANGO_SCALE. (pango_win32_render): New try. This time handle both glyphs at code point 0, specifically put there by PangoLayout to indicate spacing (for tab handling), and actual invalid glyphs noticed by the shaper. Invalid glyphs are indicated by the flag PANGO_WIN32_UNKNOWN_FLAG. (Idea taken frompangoxft-font.c) (pango_win32_get_unknown_glyph): Take also the char as parameter, return the same char with the above flag ORed in. (pango_win32_font_get_glyph_extents): If the glyph is flagged as invalid, look for glyph 0 instead. Use g_win32_error_message() in warning message instead of numeric error code. * pango/pangowin32.h: Add the new parameter to the pango_win32_get_unknown_glyph() declaration. Surround the API used by shape engines with #ifdef PANGO_ENABLE_ENGINE. * modules/basic/basic-win32.c: Change call accordingly.
* Remove. Not used. (A static library is built here. Exported entries are inTor Lillqvist2002-09-232-52/+1
| | | | | | | | | 2002-09-24 Tor Lillqvist <tml@iki.fi> * pango/opentype/pango-ot.def: Remove. Not used. (A static library is built here. Exported entries are in ../pangoft2.def.) * pango/opentype/Makefile.am (EXTRA_DIST): Remove from here, too.
* pango/makefile.mingw.in pango/mini-fribidi/makefile.mingw Remove. NotTor Lillqvist2002-09-236-199/+1
| | | | | | | | | | | | | | | | 2002-09-23 Tor Lillqvist <tml@iki.fi> * pango/makefile.mingw.in * pango/mini-fribidi/makefile.mingw * pango/opentype/makefile.mingw.in: Remove. Not maintained. * pango/Makefile.am (EXTRA_DIST) * pango/mini-fribidi/Makefile.am (EXTRA_DIST) * pango/opentype/Makefile.am (EXTRA_DIST): Remove makefile.mingw(.in) from here, too. * configure.in (AC_OUTPUT): Don't try to output above removed files.
* Make color parsing more robust and correct. (#93804)Matthias Clasen2002-09-221-42/+42
| | | | | | | | | | | * pango/pango-color.c (pango_color_parse): Make color parsing more robust and correct. (#93804) * tests/testcolor.c: Tests for pango_color_parse. * tests/Makefile.am: Build testcolor. * tests/runtests.sh: Run testcolor.
* Minor spacing fixes, comment the Unicode ranges covered.Tor Lillqvist2002-09-222-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | 2002-09-23 Tor Lillqvist <tml@iki.fi> * modules/basic/basic-win32.c: Minor spacing fixes, comment the Unicode ranges covered. * modules/basic/makefile.mingw.in: Remove. Not maintained. * modules/basic/Makefile.am: Remove from here, too. * pango/makefile.msc * pango/module-defs-win32.c.win32: Change according to change below so that build also with the manually written makefile for MSVC, which always uses included modules, still works. * pango-zip.sh.in: Distribute specifically pango.aliases and pango.modules, not the whole etc/pango which might contain editor backup files. Mon Sep 16 12:03:54 2002 Arnaud Charlet <charlet@gnat.com> * modules/basic/basic-win32.c: Check for correct macro, use correct module entry name, so that --with-included-modules works with autoconfiscated build for Windows. (#93372)
* Distribute specifically pango.aliases and pango.modules, not the wholeTor Lillqvist2002-09-215-383/+551
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-09-21 Tor Lillqvist <tml@iki.fi> * pango-zip.sh.in: Distribute specifically pango.aliases and pango.modules, not the whole etc/pango which might contain editor backup files. * pango/pangowin32-private.h * pango/pangowin32*.c: Rename DEBUGGING to PANGO_WIN32_DEBUGGING. Use plain printf instrad of g_print in the PING macro for debugging output (to avoid UTF-8 requirement). * pango/pangowin32.h: Guard against redefinition of _WIN32_WINNT. * pango/pangowin32-private.h: Remove the FS_VIETNAMESE define, not needed. Rename PangoWin32Font::face to win32face. Add enum PangoWin32CoverageLanguageClass, used to classify PangoLanguages that might have locale-specific coverage of fonts (i.e. CJKV). Change PangoWin32Face::coverage into an array, coverages. Move some TrueType macro and struct defines from pangowin32.c here. Rename them a bit to match the names used in the specs better. Add declarations for new functions (see below). * pango/pangowin32.c (pango_win32_get_hfont): Convert LOGFONT::lfFaceName to UTF-8 before printing. (pango_win32_render): Revert the change from 2002-09-05. Characters not in a font are supposed to show up at this stage as invalid glyphs (usually a box). It's up to the higher layers to filter out TABs and other characters that shouldn't be visible. (pango_win32_get_name_header, pango_win32_get_name_record): New functions, to read the name table header and records from a TrueType font. (font_name_in): New function, checks if a font has a name in one of the spoecial-case languages, or actually locales (zh_TW, zh_CN, ja, ko, vi). Checks the TrueType name table. (pango_win32_font_calc_coverage): Take a PangoLanguage parameter, too. Use it to decide whether to hide the Unified CJKV Ideographs block in case the font is not for the specified locale. If so, the coverage for these characters is set to PANGO_COVERAGE_APPROXIMATE. * pango/pangowin32-fontmap.c: Remove PangoWin32FontMap::faces, unused. Remove dead _WE_WANT_GLOBAL_ALIASES_ code. Rename parent_class to font_map_parent_class to match pangox-fontmap.c. (get_family_name, get_family_name_lowercase): New functions. Search for an English name for a TrueType font, in case the font name in LOGFONT::lfFaceName is non-ASCII. (Can one assume that if it is ASCII, it is the English name? Do some TrueType fonts have different names in French, German, etc, and does the system return these if the locale is set to use French, German, etc?) (pango_win32_insert_font): Don't store LOGFONTs that differ only in charset. What charset we specify when calling CreateFontIndirect() is irrelevant, as we are going to use ExtTextOutW() anyway, i.e. Unicode. Use the English family name from get_family_name_lowercase(), not the one returned in the LOGFONT from font enumeration. Bypass the code that sets up the mapping for monospace, serif and sans, and the recignition of plain "courier" for "courier new". We need a pango.aliases anyhow, so let it handle that. (pango_win32_coverage_language_classify): New function. (pango_win32_font_entry_set_coverage, pango_win32_font_entry_get_coverage): Take also a PangoLanguage parameter, use the corresponding entry in the PangoWin32Face::coverages array. * pango/pango-utils.c (pango_get_lib_subdirectory, pango_get_sysconf_subdirectory): Fix doc comment on Win32 behaviour.
* Fix problem where position wasn't updated properly.Owen Taylor2002-09-191-0/+1
| | | | | | Thu Sep 19 15:12:21 2002 Owen Taylor <otaylor@redhat.com> * pango/pango-utils.c (pango_scan_int): Fix problem where position wasn't updated properly.
* Correctly handle back, new_advance.Eric Mader2002-09-091-9/+16
|
* Don't fail when reading an empty script.Eric Mader2002-09-062-11/+26
|
* Render only valid glyphs. Fix by Florent Duguet. Don't know if this isTor Lillqvist2002-09-041-4/+11
| | | | | | | | | | 2002-09-05 Tor Lillqvist <tml@iki.fi> * pango/pangowin32.c (pango_win32_render): Render only valid glyphs. Fix by Florent Duguet. Don't know if this is quite the correct way to fix the problem of default glyphs (ugly boxes) showing up, maybe invalid glyphs never should get this far, but be noticed earlier?
* G_WIN32_DLLMAIN_FOR_DLL_NAME not needed on Cygwin, surround with #ifdefTor Lillqvist2002-09-041-1/+3
| | | | | | | 2002-09-04 Tor Lillqvist <tml@iki.fi> * pango/pango-utils.c: G_WIN32_DLLMAIN_FOR_DLL_NAME not needed on Cygwin, surround with #ifdef G_OS_WIN32. (91785, Masahiro Sakai)
* Released 1.1.1.PANGO_1_1_1Owen Taylor2002-08-201-5/+6
| | | | | | | | | | | | | | | Tue Aug 20 17:31:39 2002 Owen Taylor <otaylor@redhat.com> * Released 1.1.1. * configure.in: Update versions numbers. * NEWS: Updated. * docs/pango-sections.txt: Updated. * pango/pangoxft-font.c (pango_xft_font_[un]lock_face): Fix docs.
* conditionalize FC_PATTERN usage on #ifdef FC_PATTERN, since it onlyOwen Taylor2002-08-202-0/+4
| | | | | | | | | Tue Aug 20 17:14:13 2002 Owen Taylor <otaylor@redhat.com> * pango/pangofc-fontmap.cI: conditionalize FC_PATTERN usage on #ifdef FC_PATTERN, since it only existed in fontconfig for a brief amount of time.
* Delete the FC_PATTERN out of the result of FcFontRenderPrepare(), becauseOwen Taylor2002-08-195-34/+113
| | | | | | | | | | | | | | | | | | | Mon Aug 19 14:07:02 2002 Owen Taylor <otaylor@redhat.com> * pango/pangofc-fontmap.cI (pango_fc_font_map_get_patterns): Delete the FC_PATTERN out of the result of FcFontRenderPrepare(), because it makes identical fonts look like not identical fonts. * pango/pangofc-fontmap.cI (uniquify_pattern): pango/pangoft-fontmap.c pango/pangoxft-fontmap.c: Use a hash table to uniquify the patterns we cache to save memory and speed lookups. * pango/pangoxft-font.c (pango_xft_font_get_font): Split into a public wrappper (with g_return_if_fail()) around a static internal function (without check). * pango/pangoxft-fontmap.c (_pango_xft_font_map_get_info): Remove checked cast, since it was showing up high on profiles.
* Move the common code between PangoXftFontmap and PangoFT2Fontmap into aOwen Taylor2002-08-169-2035/+2267
| | | | | | | | | | | | | Fri Aug 16 17:49:38 2002 Owen Taylor <otaylor@redhat.com> * pango/pangofc-fontmap.cI pango/pangoxft-fontmap.c pango/pangoft2-fontmap.c pango/pangoxft-private.h pango/pangoft2-private.h pango/pangoxft-font.c pango/pangoft2.h: Move the common code between PangoXftFontmap and PangoFT2Fontmap into a new file that is included from both with appropriate #defines. This provides most of the recent Xft backend improvements for the FT2 backend as well.
* Keep a separate description => fontset hash for each language tag. PassOwen Taylor2002-08-151-23/+90
| | | | | | | | Tue Aug 13 16:38:19 2002 Owen Taylor <otaylor@redhat.com> * pango/pangoxft-fontmap.c (pango_xft_font_map_get_patterns): Keep a separate description => fontset hash for each language tag. Pass language tags through to Xft.
* use XAddExtension() magic to automatically clean up our information whenOwen Taylor2002-08-092-0/+87
| | | | | | | | | | | | | | | Thu Aug 8 23:14:27 2002 Owen Taylor <otaylor@redhat.com> * pango/pangox-fontmap.c pango/pangoxft-fontmap.c: use XAddExtension() magic to automatically clean up our information when XCloseDisplay() is called. * NEWS: Some updates for 1.1.x features. * README: Update a bit. * configure.in: Print Xft for the Xft backend, not Xft2 when printing summary.
* Some fixes from #90267Owen Taylor2002-08-091-3/+3
| | | | | | | | | | | | | Thu Aug 8 21:37:48 2002 Owen Taylor <otaylor@redhat.com> Some fixes from #90267 * configure.in: Fix case where freetype2 is not in default include path. Quiet some warnings if /usr/lib/qt* doesn't exist. * examples/Makefile.am: Fix problem where if no Qt was found, -I /include was in the CFLAGS.
* Fix accidentally exported set_unicode_charmap() andOwen Taylor2002-08-082-4/+4
| | | | | | | | | | Thu Aug 8 19:14:09 2002 Owen Taylor <otaylor@redhat.com> * pango/pangoxft-font.c (load_fallback_font): Fix accidentally exported set_unicode_charmap() and load_fallback_face/font(). (Jacob Berkman, #90245) * configure.in: Up PANGO_MODULE_VERSION to 1.1.0.
* Up MAX_FREED_FONTS to 128Owen Taylor2002-08-081-52/+34
| | | | | | | | | | | | | | | | | | Thu Aug 8 19:00:49 2002 Owen Taylor <otaylor@redhat.com> * pango/pangoxft-fontmap.c: Up MAX_FREED_FONTS to 128 * pango/pangoxft-fontmap.c (pango_xft_pattern_equal): Short-circuit pattern1 == pattern2. * pango/pangoxft-fontmap.c (pango_xft_font_map_get_patterns): Patch from Keith Packard to use PangoFontSetSort rather than our previous substitute-and-split-the-substitution hack; this means that if any font on the system has the character, it will be used. * pango/pangoxft-fontmap.c (_pango_xft_font_map_cache_add): Reorder so that it works with MAX_FREED_FONTS == 0.
* Offset to MarkAttachClassDef is offset to table, not offset to offset toOwen Taylor2002-08-072-14/+1
| | | | | | | | | | | | Wed Aug 7 12:32:39 2002 Owen Taylor <otaylor@redhat.com> * pango/opentype/ftxgsub.c (TT_Load_GSUB_Table): Offset to MarkAttachClassDef is offset to table, not offset to offset to table. * pango/opentype/ftxopen.c (Get_Device): Handle NULL device tables which we represent with d->DeltaValue == NULL.
* Use FcPatternHash instead of rolling our own. (Slight speed decrease)Owen Taylor2002-08-061-1/+8
| | | | | | | | | | | Mon Aug 5 23:57:59 2002 Owen Taylor <otaylor@redhat.com> * pango/pangoxft-fontmap.c (pango_xft_pattern_hash): Use FcPatternHash instead of rolling our own. (Slight speed decrease) (Keith Packard) * pango/pangoxft-fontmap.c (pango_xft_get_font_map): Remove accidentally deleted call to init_fontset_hash().
* Patch from Keith Packard:Owen Taylor2002-08-063-28/+70
| | | | | | | | | | | | | | | | | | Mon Aug 5 23:12:13 2002 Owen Taylor <otaylor@redhat.com> Patch from Keith Packard: * pango/pangoxft-private.h (struct _PangoXftFont): Add some comments. * pango/pangoxft-private.h pango/pangoxft-font.c pango/pangoxft-fontmap.c: Identify coverage by a pair of filename and index within the filename instead of just a filename, to handle TrueType Collection (TTC) fonts. * pango/pangoxft-fontmap.c (pango_xft_make_pattern): Remove some leftover comments.
* Export.Owen Taylor2002-08-064-40/+122
| | | | | | | | | | | | | | Mon Aug 5 21:54:21 2002 Owen Taylor <otaylor@redhat.com> * pango/pangoxft-fontmap.c (pango_xft_get_font_map): Export. * pango/pango-context.[ch]: Add pango_context_get_fontmap(), allow fontmap = NULL for pango_context_set_fontmap(). * pango/pangoxft-font.c pango/pangoxft-fontmap.c (pango_xft_font_get_metrics): More work on allowing displays to be shut down, while leaving basically working fonts behind.
* New function allowing us to shut down a display.Owen Taylor2002-08-022-16/+56
| | | | | | | | Fri Aug 2 12:12:34 2002 Owen Taylor <otaylor@redhat.com> * pango/pangoxft.h pango/pangoxft-fontmap.c (pango_xft_shutdown_display): New function allowing us to shut down a display.
* Make charset ordering more important than ordering in the fontOwen Taylor2002-07-311-3/+4
| | | | | | | | | Wed Jul 31 14:41:07 2002 Owen Taylor <otaylor@redhat.com> * pango/pangox.c (pango_x_list_subfonts): Make charset ordering more important than ordering in the font specfication, and document the previously undocumented ordering. (#88562, Brian Yuan.)
* Avoid using g_strescape(), since it mangles UTF-8. (#89479, Yao Zhang)Owen Taylor2002-07-311-2/+44
| | | | | | | | Wed Jul 31 12:38:36 2002 Owen Taylor <otaylor@redhat.com> * pango/querymodules.c (string_needs_escape): Avoid using g_strescape(), since it mangles UTF-8. (#89479, Yao Zhang)
* Set is_cluster_start attributes based on the log_clusters[] set by theOwen Taylor2002-07-311-0/+16
| | | | | | | | Tue Jul 30 23:10:14 2002 Owen Taylor <otaylor@redhat.com> * pango/shape.c (pango_shape): Set is_cluster_start attributes based on the log_clusters[] set by the shape engine. (Fix for #84307, Reported by Alex Larsson, others.)
* Patch from Theppitak Karoonboonyanan that factors out common code fromOwen Taylor2002-07-262-3/+42
| | | | | | | | | | | | | | | | | | | | | Fri Jul 26 18:48:49 2002 Owen Taylor <otaylor@redhat.com> * configure.in modules/thai/Makefile.am modules/thai/thai-shaper.[ch] modules/thai/thai-xft.c modules/thai/thai-x.c: Patch from Theppitak Karoonboonyanan that factors out common code from thai-x.c and adds a new Xft shaper for Thai. (#78346) * pango/pangoxft.h pango/pangoxft-font.c: Add pango_xft_font_has_char() to optimize for cases where we don't actually need to load the font. * pango/pangoxft.h: Document pango_xft_font_get_glyph(). * modules/basic/basic-xft.c (basic_engine_shape): Clean up an unused variable warning.
* pango/pangoft2-fontmap.c (pango_ft2_shutdown_display) Handle checking forOwen Taylor2002-07-252-7/+15
| | | | | | | | | | Thu Jul 25 11:42:17 2002 Owen Taylor <otaylor@redhat.com> * pango/pangoft2-fontmap.c (pango_ft2_shutdown_display) * pango/pangowin32-fontmap.c (pango_win32_shutdown_display): Handle checking for fontmap == NULL and setting it to NULL after unrefing properly. (#87915, Sven Neumann)
* Fix wrong assertion that was dying on lines separated by PS (U+2029).Owen Taylor2002-07-251-1/+1
| | | | | | | | Wed Jul 24 23:07:43 2002 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c: Fix wrong assertion that was dying on lines separated by PS (U+2029). (#88824, Choe Hwangjin)
* don't access the old (invalid) face pointer after loading a fallback faceSven Neumann2002-07-221-3/+3
| | | | | | | | 2002-07-22 Sven Neumann <sven@gimp.org> * pango/pangoft2.c (pango_ft2_font_get_face): don't access the old (invalid) face pointer after loading a fallback face because we couldn't set the unicode charmap.
* Fix trivial typo that was causing the charcode hex boxes to beOwen Taylor2002-07-161-1/+1
| | | | | | | Mon Jul 15 20:22:46 2002 Owen Taylor <otaylor@redhat.com> * pango/pangoxft-font.c: Fix trivial typo that was causing the charcode hex boxes to be misrendered.
* on Jul 15 14:56:34 2002 Owen Taylor <otaylor@redhat.com>Owen Taylor2002-07-151-7/+10
| | | | | | | | | | | * pango/pangoft2.c (pango_ft2_font_get_face): Move setting of load_flags before we do any checks for the font so they apply to the fallback font as well. * pango/pangoft2.c (pango_ft2_font_get_face): Supply FT_LOAD_NO_BITMAP as temporary workaround for problems with embedded bitmaps, since we can't render bitmap fonts at the moment.
* Fix some typos.Owen Taylor2002-07-031-4/+6
| | | | | | Wed Jul 3 18:54:14 2002 Owen Taylor <otaylor@redhat.com> * pango/pangoft2.c: Fix some typos.