summaryrefslogtreecommitdiff
path: root/modules
Commit message (Collapse)AuthorAgeFilesLines
* Reapply the patch from #124175 that somehow got reverted.Owen Taylor2004-02-131-16/+5
| | | | | | | Mon Jan 26 10:30:06 2004 Owen Taylor <otaylor@redhat.com> * pango/modules/thai/thai-shaper.c: Reapply the patch from #124175 that somehow got reverted.
* Suport CFF fonts as well. (#131202, Manjunath Sripadarao)Owen Taylor2004-01-261-5/+16
| | | | | | | Mon Jan 26 14:20:34 2004 Owen Taylor <otaylor@redhat.com> * pango/opentype/pango-ot-info.c (is_truetype): Suport CFF fonts as well. (#131202, Manjunath Sripadarao)
* Fix up glyph addition code so that it works properly with the typicalOwen Taylor2004-01-261-16/+5
| | | | | | | | | | | | | | Mon Jan 26 10:30:06 2004 Owen Taylor <otaylor@redhat.com> * pango/modules/thai/thai-c: Fix up glyph addition code so that it works properly with the typical TrueType fonts that have 0 width for combining characters. (#124175, Theppitak Karoonboonyanan) Fri Jan 23 16:05:31 2004 Owen Taylor <otaylor@redhat.com> * pango/pango-markup.c (open_tag_free): Fix some more problems with NULL attribute lists.
* Corrected a mistake between ZWJ and ZWNJ. (#130517)Roozbeh Pournader2004-01-061-2/+2
| | | | | | | 2004-01-06 Roozbeh Pournader <roozbeh@sharif.edu> * modules/arabic/arabic-ot.c: Corrected a mistake between ZWJ and ZWNJ. (#130517)
* moved pango_fc_* to the latter where they live on *nix too.Hans Breuer2003-12-133-3/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-13 Hans Breuer <hans@breuer.org> * pango/pango.def pangoft2.def : moved pango_fc_* to the latter where they live on *nix too. * pango/makefile.msc : make it build again (including the Ft2 backend) * pango/module-defs-fc.c.win32 : if PANGO_MODULE_PREFIX is defined include the basic backend shaper * pango/pangowin32.c (pango_win32_render_layout) : initialize iter before first usage to avoid immediate crashing * pango/opentype/makefile.msc pango/modules/makefile.msc : finally build with mscv, too. [completely untested cause I'm not able to type, write or read any of these languages] * modules/modules.def : follow module function renaming/changes * modules/basic/basic-win32.c : register the right engine, i.e. make it compile
* Simplify.Tor Lillqvist2003-12-081-38/+32
| | | | | | | | | | | 2003-12-08 Tor Lillqvist <tml@iki.fi> * modules/basic/basic-win32.c (convert_log_clusters_to_byte_offsets): Simplify. (itemize_shape_and_place): Fix problem with RTL scripts: If ScriptItemize() returns several items, must handle them in reverse order. (#128812, reported by Shoshannah Forbes)
* Switch over to recommended Freetype system of include ft2build.h thenOwen Taylor2003-11-011-1/+0
| | | | | | | | | | | | | | Sat Nov 1 09:32:15 2003 Owen Taylor <otaylor@redhat.com> * pango/pango-ot.h pango/pangofc-font.h modules/indic/indic-ot.h pango/pangoft2.c pango/opentype/pango-ot-info.c pango/opentype/pango-ot-ruleset.c pango/opentype/ottest.c pango/opentype/ftxopen.[ch] pango/opentype/ftxgdef.c pango/opentype/ftxgsub.c pango/opentype/ftxgpos.c: Switch over to recommended Freetype system of include ft2build.h then #include FT_FREETYPE_H. Fixes ftmodule.h problem with current Freetype CVS. (#125548)
* Remove an unused variable. (#122680, Kjartan Maraas)Owen Taylor2003-10-141-1/+0
| | | | | | | Tue Oct 14 19:00:17 2003 Owen Taylor <otaylor@redhat.com> * modules/hebrew/hebrew-xft.c (hebrew_engine_shape): Remove an unused variable. (#122680, Kjartan Maraas)
* Handle non-hebrew characters.Owen Taylor2003-09-241-13/+21
| | | | | | | Wed Sep 24 18:29:34 2003 Owen Taylor <otaylor@redhat.com> * modules/hebrew/hebrew-shaper.c (hebrew_shaper_get_next_cluster): Handle non-hebrew characters.
* Modules now declare a list of scripts that they cover instead of a list ofOwen Taylor2003-09-2312-261/+147
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tue Sep 23 18:03:57 2003 Owen Taylor <otaylor@redhat.com> * pango/pango-engines.[ch] pango/pango-engines-private.h: Modules now declare a list of scripts that they cover instead of a list of code point ranges. Also, there is now a ->covers() virtual function that allows a module to decide live whether the font covers a particular codepoint; remove old get_coverage() method. * pango/pango-fontset.[ch]: Add a foreach() function to iterate over all the fonts in a fontset (with a true return stopping iteration). * pango/pango-context.c: Complete rewrite using script-run information to improve language tags. Switch to an approach where we handle one run at a time rather than computing information for each character individually then later breaking the result into runs. * pango/pango-fontset.[ch]: Switch over to using pango-impl-utils.h. * modules/basic/basic-x.c pango/pangox-fontmap.c: Adapt to the change from get_coverage => covers. * pango/pango-modules.h pango/modules.c: Switch PangoMap over to being based on script rather than being based on codepoint. Remove the no longer needed pango_map_get_entry(). * pango/modules.c: Handle new script-based modules. * pango/pango-fc-fontmap.c pango/pango-win32-fontmap.c pango/pang-fontmap.[ch]: Add a shape_engine_type field to PangoFontmapClass, pango_font_map_get_shape_engine_type(); this allows generic code to find a shaper for a particular fontmap. * pango/pango-script.[ch]: Add pango_script_get_sample_language(), pango_language_includes_script(); functions for determining the relationship between scripts and language. * tools/gen-script-for-lang.c: Modify to spit out a useful table. * pango/pango-script-lang-table.h: Version of table generated from current fontconfig data. * pango/pangox.c: Remove complicated code to compute coverages; no longer useful now that we just have the basic shaper as a legacy thing. * modules/*/*.c: Adapt to identifying shape engines by language range. * modules/thai/thai-fc.c modules/thai/thai-shaper.[ch]: Remove now unused "has_glyph" function and XTIS support. * modules/thai/thai-fc.c: Handle non-Thai characters as well, since the Thai module now gets spaces, punctuation, and so forth.
* New function. Uses the Uniscribe ScriptIsSimple() function to check ifTor Lillqvist2003-08-071-7/+50
| | | | | | | | | | | | | | | 2003-08-05 Tor Lillqvist <tml@iki.fi> * modules/basic/basic-win32.c (text_is_simple): New function. Uses the Uniscribe ScriptIsSimple() function to check if Uniscribe shaping is needed for a piece of text. (basic_engine_shape): Use it, to avoid calling Uniscribe to shape non-complex text. Produces dramatic speedup according to tests by Hans Breuer. (init_uniscribe): No need for the PANGO_WIN32_NO_UNISCRIBE environment variable any longer.
* Make PangoEngine{,Lang,Shape} GObjects, and use a GTypeModule-basedOwen Taylor2003-08-0310-266/+206
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sat Aug 2 23:19:16 2003 Owen Taylor <otaylor@redhat.com> * pango/pango-engine.[ch] modules/*/*-{fc,win32,x}.c pango/modules.c pango/break.c pango/pango-context.c pango/pango-layout.c pango/pango-modules.h pango/querymodules.c pango/shape.c: Make PangoEngine{,Lang,Shape} GObjects, and use a GTypeModule-based module-loading system closely based on the one used for GtkIMContext and GtkThemeEngine. * pango/pango-impl-utils.h: OK, I'm tired of typing in get_type() functions. * pango/pango-script.[ch] pango/pango-script-table.h tests/testscript.c tools/gen-script-table.pl: Add port of script-range code from ICU in preparation for future use. (#91542) * tools/gen-script-for-lang.c: Utility program to determine the script for each fontconfig .orth file. * docs/tmpl/{scripts.sgml,pango-engine-lang.sgml, pango-engine-shape.sgml} docs/pango-sections.txt docs/pango-docs.sgml: Redo to go along with the above changes. * configure.in: chmod +x tests/runtests.sh
* Make pangoxft depend on pangoft2.Owen Taylor2003-08-0313-251/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | Sat Aug 2 14:33:28 2003 Owen Taylor <otaylor@redhat.com> * pango/Makefile.am (libpangoxft_1_0_la_LIBADD): Make pangoxft depend on pangoft2. * pango/pangofc-fontmap.[ch]: Make pangofc-fontmap.cI into a real base class. * pango/pangofc-font.[ch]: Move some of the pangoxft/ pangoft2 implementation here. * pango/pangoft2.c pango/pangoft2-fontmap.c pango/pangoft2-private.h pango/pangoxft-font.c pango/pangoxft2-fontmap.c pango/pangoxft-private.h: Adapt to the new scheme * modules/*/Makefile.am Modules/*/*/*-fc.c: Don't build separate FT2 and Xft shapers, just build one Fc shaper. * docs/pango-sections.txt docs/pango-docs.sgml docs/tmpl/pangofc-font{,map}.sgml: Basic docs for the new stuff. * configure.in: Up pango_module_version to 1.4.0.
* Remove some leftovers.Owen Taylor2003-08-021-2/+0
| | | | | | | Sat Aug 2 14:18:20 2003 Owen Taylor <otaylor@redhat.com> * modules/hangul/Makefile.am (EXTRA_DIST): Remove some leftovers.
* Remove.Owen Taylor2003-08-021-1/+3
| | | | | | | | | | | | Sat Aug 2 14:10:31 2003 Owen Taylor <otaylor@redhat.com> * pango/Makefile.am pango/pango-intset.[ch] pango/pango-indic.[ch]: Remove. * pango/pangox.c (pango_x_apply_ligatures): Make a noop, remove associated code. * pango/pangox-fontmap.c pango/pangox.[ch]: Deprecate everything.
* Remove old X font shapers.Owen Taylor2003-08-0230-7502/+0
| | | | | | | | | | | | | | | Sat Aug 2 13:17:45 2003 Owen Taylor <otaylor@redhat.com> * configure.in modules/arabic/{Makefile.am arconv.[ch],langboxfont.[ch], mulefont.[ch],naqshfont.[ch],arabic-x.c} modules/hangul/{Makefile.am,hangul-x.c,tables-johabfont.i, tables-ksc5601.i} modules/hebrew/{Makefile.am,hebrew-x.c} modules/indic/{Makefile.am,*-x.c} modules/tamil modules/thai/{Makefile.am,thai-x.c}: Remove old X font shapers.
* Add API to kern a complete glyph string. Remove API to kern individualSoeren Sandmann2003-08-021-7/+3
| | | | | | | | | | | | | | | | | | | | | | Sat Aug 2 16:40:19 2003 Soeren Sandmann <sandmann@daimi.au.dk> Add API to kern a complete glyph string. Remove API to kern individual glyph pairs. * modules/basic/basic-fc.c (basic_engine_shape): use pango_fc_font_kern_glyphs() instead of pango_fc_font_get_kerning(). * pango/pangoft2.c (pango_ft2_font_real_kern_glyphs): add this function, remove pango_ft2_font_real_get_kerning(). * pango/pangoxft-font.c (pango_xft_font_real_kern_glyphs): add this function, remove pango_xft_font_real_get_kerning(). * pango/pangofc-font.c (pango_fc_font_kern_glyphs): new function. Remove pango_fc_font_get_kerning(). * pango/pangofc-font.h: remove pango_fc_font_get_kerning(), add pango_fc_font_kern_glyphs().
* Fix problem where NULL mpreFixups wasn't getting returned properly.Owen Taylor2003-07-271-1/+1
| | | | | | | | Sat Jul 26 22:09:44 2003 Owen Taylor <otaylor@redhat.com> * modules/indic/indic-ot.c (indic_ot_reorder): Fix problem where NULL mpreFixups wasn't getting returned properly.
* Port pre-base-mantra fixup code from ICU, as needed for Tamil andOwen Taylor2003-07-256-13/+227
| | | | | | | | | Fri Jul 25 12:07:21 2003 Owen Taylor <otaylor@redhat.com> * modules/indic/mprefixups.[ch] modules/indic/indic-ot.[ch] modules/indic/indic-fc.c: Port pre-base-mantra fixup code from ICU, as needed for Tamil and Malayalam. (Based on patch from Sivaraj Doddannan, #111166)
* Remove leftover FRIBIDI_LIBS reference. (Pointed out by Sven Neumann)Owen Taylor2003-07-256-6/+6
| | | | | | | Thu Jul 24 18:03:32 2003 Owen Taylor <otaylor@redhat.com> * modules/*/Makefile.am: Remove leftover FRIBIDI_LIBS reference. (Pointed out by Sven Neumann)
* Port of some fixes from ICU.Owen Taylor2003-07-252-176/+171
| | | | | | | | | | | | | Fri Jul 25 11:06:14 2003 Owen Taylor <otaylor@redhat.com> * modules/indic/indic-ot.[ch]: Port of some fixes from ICU. "Fixed problems w/ backing off the front of a syllable if all consonants have post-base form... Fix tag list for base consonant so that it doesn't have 'pstf'"" Based on patch from Taneem Ahmed (#118297)
* Remove leftover FRIBIDI_LIBS reference. (Pointed out by Sven Neumann)Owen Taylor2003-07-241-1/+1
| | | | | | | Thu Jul 24 18:03:32 2003 Owen Taylor <otaylor@redhat.com> * modules/*/Makefile.am: Remove leftover FRIBIDI_LIBS reference. (Pointed out by Sven Neumann)
* Commit change from a while ago.Owen Taylor2003-07-241-6/+16
| | | | | | | | Thu May 29 18:49:00 2003 Owen Taylor <otaylor@redhat.com> * modules/indic/indic-fc.c: Use the correct tags at the GPOS stage, taking into account changes during the GSUB stage. (#112433)
* updated to generate libtool compatible dll names, define the rightHans Breuer2003-07-201-0/+70
| | | | | | | | | | | | | 2003-07-20 Hans Breuer <hans@breuer.org> * pango/makefile.msc : updated to generate libtool compatible dll names, define the right PANGO_MODULE_PREFIX, pangoft2 still not build with msvc * module/basic-win32.c : some #ifdef's for missing LANG_* constants to make it compile with msvc50 * pango/pango.def : updated externals
* Need config.h here, too, for HAVE_X. Thanks to Patrick Welche.Tor Lillqvist2003-06-041-0/+1
| | | | | | | 2003-06-04 Tor Lillqvist <tml@iki.fi> * modules/thai/thai-x.c: Need config.h here, too, for HAVE_X. Thanks to Patrick Welche.
* Add HAVE_X.Tor Lillqvist2003-05-295-4/+19
| | | | | | | | | | | | | | | | | | | | | | | 2003-05-29 Tor Lillqvist <tml@iki.fi> * acconfig.h: Add HAVE_X. * configure.in: Set HAVE_X. * modules/thai/thai-shaper.h: Don't include pangox.h unless HAVE_X. Also leave out the PangoXSubfont field unless HAVE_X. * modules/hangul/Makefile.am * modules/indic/Makefile.am * modules/thai/Makefile.am: Use -no-undefined on Windows. * modules/thai/thai-shaper.c: Include config.h for HAVE_X. * README.win32: Some minor edits. * pango/pango.def: Add pango_fc_* entries. * pango/pangoft2.def: Add some missing entries.
* Cast some enumeration members that are bigger than signed integers toOwen Taylor2003-04-151-2/+2
| | | | | | | | Tue Apr 15 04:53:56 2003 Owen Taylor <otaylor@redhat.com> * modules/indic/indic-ot.h (enum): Cast some enumeration members that are bigger than signed integers to (int) to fix warning on AIX. (#107924)
* Fix out-of-bounds read where the value wasn't actually used. (#106744,Owen Taylor2003-04-152-25/+29
| | | | | | | Tue Apr 15 03:54:01 2003 Owen Taylor <otaylor@redhat.com> * modules/hangul/hangul-{x,fc}.c: Fix out-of-bounds read where the value wasn't actually used. (#106744, Morten Welinder)
* Switch over the way that module entry points work, taking advantage of theOwen Taylor2003-04-1436-3369/+356
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Mon Apr 14 06:02:34 2003 Owen Taylor <otaylor@redhat.com> * modules/thai/{thai-fc.c,thai-shaper.c,thai-x.c}: * modules/*/*-{xft,x,win32.c} pango/pango-engine.h modules/*/Makefile.am: Switch over the way that module entry points work, taking advantage of the new automake capability for per-target CFLAGS for shared sources. * pango/pangofc-font.[ch] pango/pangoxft-font.c pango/pangoft2.c: Add a base class for PangoXft and PangoFT2 font classes so code can be shared between FT2 and Xft backends. * configure.in modules/*/Makefile.am modules/{arabic,basic,hangul,hebrew,indic,thai}: Move *-xft.c to *-fc.c and share between Xft and FT2 backends; adds FT2 backend capabilities for hangul/indic/thai. * pango/pangoxft.h pango/pangoft2.h: Deprecate APIs that moved into PangoFcFont * modules/basic/basic-fc.c (set_glyph): Add kerning handling from FT2 backend.
* Quick and dirty fix for seg-fault in Hebrew shaper.Dov Grobgeld2003-03-121-2/+11
| | | | * Quick and dirty fix for seg-fault in Hebrew shaper.
* make similar changes to the ones on glib head (call gtk-docize, etc).James Henstridge2003-03-117-471/+307
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-11 James Henstridge <james@daa.com.au> * autogen.sh: make similar changes to the ones on glib head (call gtk-docize, etc). * configure.in: move some calculations into M4 macros, rather than calculating them when configure runs. Use AC_HELP_STRING where appropriate. Replace gtk-doc checks with a call to GTK_DOC_CHECK. Replace AC_OUTPUT_COMMANDS() call with a number of calls to AC_CONFIG_COMMANDS (once per created file). Get rid of the "chmod +x pango-config" bit, because there is no pango-config anymore. * Makefile.am: get rid of custom distcheck rule, and set DISTCHECK_CONFIGURE_FLAGS, which is equivalent. Use += to select which .pc files to install. * pango/Makefile.am: Add rules to rebuild module-defs* files, and remove them on clean. Reorder so that rules related to each individual library are next to each other. Use BUILT_SOURCES for built sources. * pango/opentype/Makefile.am: don't use STRIP_BEGIN/STRIP_END. * modules/*/Makefile.am: simplify module makefiles through use of +=, and regularise them a bit (fixed a few bugs in the process). * docs/Makefile.am: remove common rules, and instead include gtk-doc.make. * examples/Makefile.am: add pango.modules to CLEANFILES. * tests/Makefile.am: remove temporary files on clean.
* Add an --enable-debug configure argument defaulting to 'yes' for unstableOwen Taylor2003-02-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Mon Feb 17 13:06:39 2003 Owen Taylor <otaylor@redhat.com> * configure.in **/Makefile.am: Add an --enable-debug configure argument defaulting to 'yes' for unstable releases and 'minimum' for stable releases. For minimum, -DG_DISABLE_CAST_CHECKS. * pango/pangofc-fontmap.cI pango/pangoft2-fontmap.c pango/pangoxft-fontmap.c: Add caching of fontsets (#104495, initial patch and review by Soeren Sandmann) * pango/pangofc-fontmap.cI pango/pangoft2-fontmap.c pango/pangoxft-fontmap.c pango/pangoft2-private.h pango/pangoxft-private.h: Remove cache of recently freed fonts; not necessary now that we cache fontsets. * pango/pangofc-fontmap.cI (pango_fc_pattern_set_free): Rename from pango_fc_font_set_free to reflect what it actually does. * pango/pangofc-fontmap.cI pango/pangoft-fontmap.c pango/pangoxft-fontmap.c: Combine clear-the-cache functions; we didn't need separate clear-the-font-cache and clear-the-pattern-cache functions.
* Add an --enable-debug configure argument defaulting to 'yes' for unstableOwen Taylor2003-02-176-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | Mon Feb 17 13:06:39 2003 Owen Taylor <otaylor@redhat.com> * configure.in **/Makefile.am: Add an --enable-debug configure argument defaulting to 'yes' for unstable releases and 'minimum' for stable releases. For minimum, -DG_DISABLE_CAST_CHECKS. * pango/pangofc-fontmap.cI pango/pangoft2-fontmap.c pango/pangoxft-fontmap.c: Add caching of fontsets (#104495, initial patch and review by Soeren Sandmann) * pango/pangofc-fontmap.cI pango/pangoft2-fontmap.c pango/pangoxft-fontmap.c pango/pangoft2-private.h pango/pangoxft-private.h: Remove cache of recently freed fonts; not necessary now that we cache fontsets. * pango/pangofc-fontmap.cI (pango_fc_pattern_set_free): Rename from pango_fc_font_set_free to reflect what it actually does. * pango/pangofc-fontmap.cI pango/pangoft-fontmap.c pango/pangoxft-fontmap.c: Combine clear-the-cache functions; we didn't need separate clear-the-font-cache and clear-the-pattern-cache functions.
* Fix typo where xft_sources was used again. (#105219, Chris Ross)Owen Taylor2003-02-121-1/+1
| | | | | | | | Wed Feb 12 16:41:03 2003 Owen Taylor <otaylor@redhat.com> * modules/hangul/Makefile.am (libpango_hangul_x_la_SOURCES): Fix typo where xft_sources was used again. (#105219, Chris Ross)
* When we get an isolated tone in isolation, do something reasonable ratherOwen Taylor2002-12-172-4/+66
| | | | | | | | | | | | | Mon Dec 16 19:28:18 2002 Owen Taylor <otaylor@redhat.com> * modules/hangul/hangul-xft.c (render_isolated_tone): When we get an isolated tone in isolation, do something reasonable rather than just return no glyphs and causing an assertion failure. (#100625) * pango/pangofc-fontmap.cI (_pango_fc_font_map_get_coverage): Add a hack to force Hangul marks to be be rendered in the same font as base Hangul glyphs.
* Add some extra ranges as "*" to match basic-x.c. (#101083, Jungshik Shin)Owen Taylor2002-12-162-8/+8
| | | | | | | | | Mon Dec 16 18:10:46 2002 Owen Taylor <otaylor@redhat.com> * modules/basic/basic-xft.c: Add some extra ranges as "*" to match basic-x.c. (#101083, Jungshik Shin) Remove some extraneous "" ranges since we have { 0x0000, 0xffff, "" } anyways.
* Convert [sf]printf to g_[sf]printf, or, where appropriate g_printerr().Owen Taylor2002-12-063-4/+5
| | | | | | | | | | | | Fri Dec 6 18:07:48 2002 Owen Taylor <otaylor@redhat.com> * modules/indic/devanagari-x.c, pango/modules.c pango/pango-utils.c pango/pangoft2.c pango/querymodules.c: Convert [sf]printf to g_[sf]printf, or, where appropriate g_printerr(). (Based on patch from Matthias Clasen, #99321) * configure.in: Require glib-2.1.3.
* Do not add GLIB_CFLAGS to CFLAGS.Sebastian Wilhelmi2002-11-267-12/+50
| | | | | | | | | | | | | | | | 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.
* Remove duplicate include of basic-common.h (#97667, Tony Graham)Owen Taylor2002-11-211-2/+0
| | | | | | | Thu Nov 21 17:35:08 2002 Owen Taylor <otaylor@redhat.com> * modules/basic/basic-ft2.c: Remove duplicate include of basic-common.h (#97667, Tony Graham)
* Add more debugging output.Tor Lillqvist2002-11-121-2/+14
| | | | | | | | | | | | | 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.
* Renamed from render_syllable_with_ksx1005 (#95800).Changwoo Ryu2002-11-081-6/+6
| | | | | | | 2002-11-09 Changwoo Ryu <cwryu@debian.org> * modules/hangul/hangul-x.c (render_syllable_with_ksx1001johab): Renamed from render_syllable_with_ksx1005 (#95800).
* Fix #96781: changes for basic X shaper's code range for compatibilityHidetoshi Tajima2002-11-071-4/+5
| | | | | | | * modules/basic/basic-x.c: Fix #96781: changes for basic X shaper's code range for compatibility Ideographs characters (0xFA0C - 0xFA2D) (by federic.zhang@sun.com)
* Applied some of the hangul-xft changes into hangul-x; it takes precomposedChangwoo Ryu2002-11-051-90/+56
| | | | | | | | 2002-11-06 Changwoo Ryu <cwryu@debian.org> * modules/hangul/hangul-x.c (hangul_engine_shape): Applied some of the hangul-xft changes into hangul-x; it takes precomposed syllables as same as L+V or L+V+S jamo sequences.
* Fixed wrong syllable check.Changwoo Ryu2002-11-034-41/+109
| | | | | | | | | | | | | | | 2002-11-04 Changwoo Ryu <cwryu@debian.org> * modules/hangul/hangul-defs.h (IS_S): Fixed wrong syllable check. * modules/hangul/hangul-defs.h: * modules/hangul/hangul-x.c: No more use of TFILL, the internal trailing consonant filler. (render_syllable_with_*): Appended empty syllable (ex. LFILL+VFILL) rendering case (#96175). (render_syllable_with_ksx1005): Fixed wrong fallback glyphs indices (from #95800 by Jungshik Shin).
* Removed hangul syllables and hangul tonemarks ranges. Now hangul-xft isChangwoo Ryu2002-11-022-4/+4
| | | | | | | 2002-11-03 Changwoo Ryu <cwryu@debian.org> * modules/basic/basic-xft.c: Removed hangul syllables and hangul tonemarks ranges. Now hangul-xft is responsible for these ranges.
* Added Hangul Tone Marks rendering by Jungshik Shin (#96299).Changwoo Ryu2002-11-013-8/+224
| | | | | | | 2002-11-01 Changwoo Ryu <cwryu@debian.org> * modules/hangul/hangul-defs.h modules/hangul/hangul-xft.c: Added Hangul Tone Marks rendering by Jungshik Shin (#96299).
* Added U+AC00- coverage (hangul_engine_shape): Renders U+AC00 HangulChangwoo Ryu2002-10-303-18/+47
| | | | | | | | 2002-10-31 Changwoo Ryu <cwryu@debian.org> * modules/hangul/hangul-xft.c (hangul_engine_get_coverage): Added U+AC00- coverage (hangul_engine_shape): Renders U+AC00 Hangul Syllables.
* Update the non-Uniscribe ranges to cover some more simple scripts.Tor Lillqvist2002-10-241-43/+102
| | | | | | | | | | | | | | | | | | | 2002-10-24 Tor Lillqvist <tml@iki.fi> * modules/basic/basic-win32.c: Update the non-Uniscribe ranges to cover some more simple scripts. (itemize_shape_and_place): Handle unknown glyphs. (script_engine_list): Only return the "everything" range if Uniscribe is available. It would be nice to build up a more specific range list based on the information ScriptGetProperties() returns. That function lists information about each script the Uniscribe version used can handle. Unfortunately, though, the information is severely limited. It doesn't tell what Unicode blocks a script covers. It only gives one language that uses that script, and sometimes an charset number, but for most scripts just the totally useless DEFAULT_CHARSET.
* Add --with-usp10 flag to indicate where to find the usp10.h header, forTor Lillqvist2002-10-212-1/+758
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* fixed a typoChangwoo Ryu2002-10-152-2/+2
|