summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* === Released 1.1.2 ===PANGO_1_1_2Owen Taylor2002-10-138-8/+69
| | | | | | | | | | Sun Oct 13 12:35:14 2002 Owen Taylor <otaylor@redhat.com> * === Released 1.1.2 === * configure.in: Version 1.1.2, interface age 0. * NEWS: Updates.
* Add, implement and document PANGO_WRAP_WORD_CHARAlexander Larsson2002-10-0410-50/+110
| | | | | | | | 2002-10-04 Alexander Larsson <alexl@redhat.com> * pango/pango-layout.[ch]: * docs/tmpl/layout.sgml: Add, implement and document PANGO_WRAP_WORD_CHAR
* shut up cvsManish Singh2002-09-291-0/+1
|
* ligatures can be also used in MarkBasePos lookups. (2001-03-17 WernerOwen Taylor2002-09-297-21/+46
| | | | | | | 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-299-10/+73
| | | | | | | | | | | 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-287-2/+70
| | | | | | | | | | | | | 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.
* (Based on GTK+ patch by J. Ali Harlow in #87774)Owen Taylor2002-09-279-3/+104
| | | | | | | | | | | | | | Fri Sep 27 17:50:51 2002 Owen Taylor <otaylor@redhat.com> (Based on GTK+ patch by J. Ali Harlow in #87774) * configure.in: Add CROSS_COMPILING conditional. * modules/Makefile.am (install-data-local): Don't generate pango.modules when installing into a DESTDIR or cross-compiling. * examples/Makefile.am (all-local): Don't generate pango.modules when cross-compiling.
* make charset ordering of chinese character sets differently for chineseHidetoshi Tajima2002-09-277-4/+46
| | | | | | | * modules/basic/tables-big.i: make charset ordering of chinese character sets differently for chinese locales - e.g., GB18030 is used first in zh-cn locales. (#89937 James Su, Brian Yuan.)
* INCLUDED_WIN32_MODULES was missing from a couple of places. (#93372)Tor Lillqvist2002-09-257-2/+32
| | | | | | | 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-249-36/+228
| | | | | | | | | | | | | | | | | | | | | | | 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-238-52/+43
| | | | | | | | | 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.
* Just moved a few lines in my recent ChangeLog entry for clarity.Tor Lillqvist2002-09-236-12/+12
|
* pango/makefile.mingw.in pango/mini-fribidi/makefile.mingw Remove. NotTor Lillqvist2002-09-2313-237/+67
| | | | | | | | | | | | | | | | 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.
* Remove. Not used.Tor Lillqvist2002-09-228-47/+13
| | | | | | | | 2002-09-23 Tor Lillqvist <tml@iki.fi> * examples/pangowin32.aliases: Remove. Not used. * examples/Makefile.am (EXTRA_DIST): Remove here, too.
* Remove, obsolete.Tor Lillqvist2002-09-229-48/+55
| | | | | | | | | | | 2002-09-23 Tor Lillqvist <tml@iki.fi> * examples/makefile.mingw.in: Remove, obsolete. * examples/Makefile.am (EXTRA_DIST): Remove 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-2211-45/+192
| | | | | | | | | | | * 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-2212-59/+199
| | | | | | | | | | | | | | | | | | | | | | | | | | 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-2111-383/+1013
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-197-6/+55
| | | | | | 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-097-15/+40
|
* Don't fail when reading an empty script.Eric Mader2002-09-068-11/+50
|
* copy version with automake-1.4 fixes from -1-0 branchjacob berkman2002-09-057-4/+28
| | | | | | 2002-09-05 jacob berkman <jacob@ximian.com> * autogen.sh: copy version with automake-1.4 fixes from -1-0 branch
* Render only valid glyphs. Fix by Florent Duguet. Don't know if this isTor Lillqvist2002-09-047-4/+59
| | | | | | | | | | 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-047-1/+33
| | | | | | | 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)
* Change Punjabi script ('punj') to Gurmukhi ('guru')Eric Mader2002-08-2810-25/+69
|
* 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.