summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Released 1.1.1.PANGO_1_1_1Owen Taylor2002-08-2013-10/+272
| | | | | | | | | | | | | | | 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-208-0/+46
| | | | | | | | | 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.
* Make the test for VARARGS macros more robust, fixing problem withOwen Taylor2002-08-207-4/+50
| | | | | | | | | Tue Aug 20 16:06:36 2002 Owen Taylor <otaylor@redhat.com> * configure.in: Make the test for VARARGS macros more robust, fixing problem with misbehaving IRIX compiler that doesn't error on #error. (#90267)
* modules/indic/indic-xft.c (maybe_add_GPOS_feature):Owen Taylor2002-08-2021-95/+192
| | | | | | | | | | | | | | | | | | Tue Aug 20 15:42:33 2002 Owen Taylor <otaylor@redhat.com> * modules/indic/indic-xft.c (maybe_add_SUB_feature): modules/indic/indic-xft.c (maybe_add_GPOS_feature): modules/indic/indic-ot.c (getOutputIndex) modules/hebrew/hebrew-x.c (get_glyph_num) modules/basic/basic-x.c (find_char): Fix missing statics. * modules/thai/{thai-shaper.[ch] thai-xft.c thai-x.c}: Namespace the "abstract functions" that thai-xft/thai-x.c export to thai-shaper.c. * modules/arabic/arabic-{ot.[ch],ft2.c,xft.c}: Rename Assign_Arabic_Properties to Arabic_Assign_Properties.
* Patch from Nils Nordman to add various missing 'static' (#90353)Owen Taylor2002-08-2012-11/+60
| | | | | | | | | | Tue Aug 20 15:06:50 2002 Owen Taylor <otaylor@redhat.com> * modules/arabic/arabic-xft.c modules/arabic/arabic-ft2.c modules/basic/tables-big.i modules/basic/tables-small.i modules/hebrew/hebrew-ft2.c modules/hebrew/hebrew-xft.c: Patch from Nils Nordman to add various missing 'static' (#90353)
* Delete the FC_PATTERN out of the result of FcFontRenderPrepare(), becauseOwen Taylor2002-08-1911-34/+215
| | | | | | | | | | | | | | | | | | | 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-1615-2035/+2333
| | | | | | | | | | | | | 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-157-23/+126
| | | | | | | | 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.
* Released 1.1.0PANGO_1_1_0Owen Taylor2002-08-136-0/+24
| | | | | | Tue Aug 13 00:20:14 2002 Owen Taylor <otaylor@redhat.com> * Released 1.1.0
* use XAddExtension() magic to automatically clean up our information whenOwen Taylor2002-08-0911-24/+238
| | | | | | | | | | | | | | | 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-099-11/+140
| | | | | | | | | | | | | 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-089-5/+53
| | | | | | | | | | 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-087-52/+130
| | | | | | | | | | | | | | | | | | 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.
* Add FONTCONFIG_CFLAGS to INCLUDES. (Joe Yandle.)Owen Taylor2002-08-087-1/+31
| | | | | | | Thu Aug 8 18:55:21 2002 Owen Taylor <otaylor@redhat.com> * examples/Makefile.am (INCLUDES): Add FONTCONFIG_CFLAGS to INCLUDES. (Joe Yandle.)
* add tables-jamos.ijacob berkman2002-08-087-13/+14
| | | | | | 2002-08-08 jacob berkman <jacob@ximian.com> * modules/hangul/Makefile.am (EXTRA_DIST): add tables-jamos.i
* add hangul-defs.h so it gets distedjacob berkman2002-08-087-2/+32
| | | | | | | 2002-08-08 jacob berkman <jacob@ximian.com> * modules/hangul/Makefile.am (xft_sources): add hangul-defs.h so it gets disted
* Fix missing trailing newline in file.Owen Taylor2002-08-077-1/+25
| | | | | | Wed Aug 7 14:35:13 2002 Owen Taylor <otaylor@redhat.com> * configure.in: Fix missing trailing newline in file.
* echo status at end.Michael Meeks2002-08-077-0/+29
| | | | | | Wed Aug 7 09:14:00 2002 Michael Meeks <michael@ximian.com> * configure.in: echo status at end.
* Offset to MarkAttachClassDef is offset to table, not offset to offset toOwen Taylor2002-08-078-14/+61
| | | | | | | | | | | | 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.
* Get rid of direct access to FT_Face.Owen Taylor2002-08-078-40/+44
| | | | | | | Wed Aug 7 11:07:10 2002 Owen Taylor <otaylor@redhat.com> * modules/hangul/hangul-xft.c (hangul_engine_shape): Get rid of direct access to FT_Face.
* Add missing XFT_CFLAGS to INCLUDES. (Joe Yandle)Owen Taylor2002-08-078-2/+32
| | | | | | | Wed Aug 7 10:57:49 2002 Owen Taylor <otaylor@redhat.com> * modules/hangul/Makefile.am modules/thai/Makefile.am: Add missing XFT_CFLAGS to INCLUDES. (Joe Yandle)
* Use FcPatternHash instead of rolling our own. (Slight speed decrease)Owen Taylor2002-08-067-1/+62
| | | | | | | | | | | 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-069-28/+166
| | | | | | | | | | | | | | | | | | 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-0610-40/+194
| | | | | | | | | | | | | | 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.
* Made Hebrew shape engines handle presentation forms as well.Dov Grobgeld2002-08-054-0/+4
| | | | * Made Hebrew shape engines handle presentation forms as well.
* New function allowing us to shut down a display.Owen Taylor2002-08-028-16/+92
| | | | | | | | 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.
* Fix check for having any backend HAVE_XFT => have_xft, etc. (ProblemOwen Taylor2002-08-017-1/+37
| | | | | | | | Thu Aug 1 10:41:26 2002 Owen Taylor <otaylor@redhat.com> * configure.in: Fix check for having any backend HAVE_XFT => have_xft, etc. (Problem reported by Andreas J Guelzow)
* Renders the prefix of uncomposable Hangul syllable in the way of otherChangwoo Ryu2002-08-017-26/+51
| | | | | | * modules/hangul/hangul-x.c (render_syllable_with_ksx1005): Renders the prefix of uncomposable Hangul syllable in the way of other font encoding code.
* Minor tweak to last patch to clarify index passed to unknown_glyph().Owen Taylor2002-07-318-2/+32
| | | | | | | Wed Jul 31 16:00:20 2002 Owen Taylor <otaylor@redhat.com> * modules/thai/thai-xft.c (make_glyph): Minor tweak to last patch to clarify index passed to unknown_glyph().
* Argument to make_glyph() shouldn't have been unsigned char, since we passOwen Taylor2002-07-3110-14/+84
| | | | | | | | | | | | Wed Jul 31 15:43:39 2002 Owen Taylor <otaylor@redhat.com> * modules/thai/{thai-shaper.h,thai-x.c,thai-xft.c}: Argument to make_glyph() shouldn't have been unsigned char, since we pass unicode through it. * modules/thai/thai-xft.c (make_glyph): Handle THAI_FONT_ISO10646 correctly. If a character isn't found, return the correct unknown glyph.
* Patch from Changwoo Ryu <cwryu@debian.org> (#86591)Owen Taylor2002-07-3115-580/+1418
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sat Jul 27 18:18:20 2002 Owen Taylor <otaylor@redhat.com> Patch from Changwoo Ryu <cwryu@debian.org> (#86591) * configure.in, modules/hangul/Makefile.am: : Added hangul-xft module. * modules/hangul/hangul-xft.c: New file, shaping Hangul Jamos (U+1100-U+11FF) with Xft. * modules/hangul/hangul-x.c (JOHAB_COMMON): Render any prefix of uncommposable Hangul syllable as a syllable, and render remains as uncomposed form. This looks better than completely uncomposed jamo glyphs. (render_syllable_with_iso10646): Likewise. (render_syllable_with_ksc5601): Likewise. (hangul_engine_shape): Fixed memory leak on shaping a syllable with >= 6 jamos. * modules/hangul/tables-jamos.i, modules/hangul/tables-ksc5601.i: Separated Hangul Jamo mapping table from ksx1001 <=> unicode table. * modules/hangul/hangul-defs.h: New file with some common defines and macros. * modules/hangul/hangul-x.c (render_syllable_with_johabs): Fixed wrong font index around fallback display with johabs. (find_subfont): Uses "johabsh-1" (johabs-1 font with Hanja) in the same way with "johabs-1".
* Make charset ordering more important than ordering in the fontOwen Taylor2002-07-317-3/+46
| | | | | | | | | 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-317-2/+80
| | | | | | | | 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-317-0/+52
| | | | | | | | 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.)
* Fix problem where pango_xft_get_unknown_glyph() was being used for XOwen Taylor2002-07-2711-3/+66
| | | | | | | | | Sat Jul 27 09:46:51 2002 Owen Taylor <otaylor@redhat.com> * modules/thai/{thai-shaper.[ch],thai-x.c,thai-xft.c} (make_unknown_glyph): Fix problem where pango_xft_get_unknown_glyph() was being used for X fonts. (reported by Jacob Berkman)
* ri Jul 26 19:46:45 2002 Owen Taylor <otaylor@redhat.com>Owen Taylor2002-07-268-3147/+3397
| | | | | | | | * modules/basic/basic-x.c modules/basic/tables-big.i: Patch fromm Qingjiang (Brian) Yuan adding support for GB-18030, BIG5-HKSCS, CNS-11643 and GBK encodings. Also fix wrong encoding for Big5 fonts and look for big5-1 as well as big5-0 for the encoding name.
* Patch from Qingjiang (Brian) Yuan and Changwoo Ryu to add support forOwen Taylor2002-07-268-0/+177
| | | | | | | | Fri Jul 26 19:23:58 2002 Owen Taylor <otaylor@redhat.com> * modules/hangul/hangul-x.c modules/hangul/tables-ksc5601.1: Patch from Qingjiang (Brian) Yuan and Changwoo Ryu to add support for ksc5601.1992-3 fonts.
* ri Jul 26 18:48:49 2002 Owen Taylor <otaylor@redhat.com>Owen Taylor2002-07-264-0/+1253
| | | | | | | | | * 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)
* Patch from Theppitak Karoonboonyanan that factors out common code fromOwen Taylor2002-07-2613-732/+213
| | | | | | | | | | | | | | | | | | | | | 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.
* Add back non-spurious \$ removed in last commit.Owen Taylor2002-07-267-1/+25
| | | | | | Fri Jul 26 18:11:56 2002 Owen Taylor <otaylor@redhat.com> * Add back non-spurious \$ removed in last commit.
* Fix a leftover spurious \$ from the last commit.Owen Taylor2002-07-267-1/+25
| | | | | | Fri Jul 26 18:11:56 2002 Owen Taylor <otaylor@redhat.com> * Fix a leftover spurious \$ from the last commit.
* Replace uses of grep \(A\|B\) ... with egrep (A|B). (#84872, ArnaudOwen Taylor2002-07-267-28/+106
| | | | | | | Fri Jul 26 17:59:06 2002 Owen Taylor <otaylor@redhat.com> * configure.in: Replace uses of grep \(A\|B\) ... with egrep (A|B). (#84872, Arnaud Charlet)
* 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-257-1/+37
| | | | | | | | 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-227-3/+39
| | | | | | | | 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-167-1/+31
| | | | | | | 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-157-7/+76
| | | | | | | | | | | * 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-037-4/+30
| | | | | | Wed Jul 3 18:54:14 2002 Owen Taylor <otaylor@redhat.com> * pango/pangoft2.c: Fix some typos.
* Be more robust when trying to set the unicode character map on the font.Owen Taylor2002-07-039-48/+203
| | | | | | | | | | | Wed Jul 3 18:39:45 2002 Owen Taylor <otaylor@redhat.com> * pango/pangoft2.c pango/pangoxft-font.c: Be more robust when trying to set the unicode character map on the font. * pango/pangoft2.c pango/pangoft2-private.h: Obey FC_HINTING, FC_AUTOHINT.
* New function to allow tweaking of FcPattern default substitution (forOwen Taylor2002-07-0312-101/+433
| | | | | | | | | | | | | | | | | Mon Jul 1 19:45:10 2002 Owen Taylor <otaylor@redhat.com> * pango/pangoxft-fontmap.c (pango_xft_set_default_substitute): New function to allow tweaking of FcPattern default substitution (for XSETTINGS support.) * pango/pangoft2-fontmap.c pango/pangoft2.[ch] pango/pangoft2-private.h: Rationalize DPI and context creation by adding: pango_ft2_font_map_new() pango_ft2_font_map_set_resolution() pango_ft2_font_map_set_default_substitute() pango_ft2_font_map_create_context()