summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* === Released 1.0.5 ===PANGO_1_0_5Owen Taylor2002-10-1310-3/+101
| | | | | | | | | | | | | | | Sun Oct 13 12:34:41 2002 Owen Taylor <otaylor@redhat.com> * === Released 1.0.5 === * configure.in: Version 1.0.5. * NEWS: Updates Sun Oct 13 12:46:32 2002 Owen Taylor <otaylor@redhat.com> * pango/pangowin32.c (pango_win32_get_unknown_glyph): Fix the doc comment.
* Recognize a special marker directory name "WINDOWSFONTDIR", and look upTor Lillqvist2002-09-307-0/+85
| | | | | | | | 2002-10-01 Tor Lillqvist <tml@iki.fi> * pango/mini-xft/minixftdir.c (MiniXftDirScan) [Win32]: Recognize a special marker directory name "WINDOWSFONTDIR", and look up the Windows fonts folder.
* 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)
* Still a tiny improvement to pango_win32_render: keep tally of last_xTor Lillqvist2002-09-241-1/+2
| | | | using the whole pixel values passed to Windows.
* Use PANGO_PIXELS macro throughout instead of dividing by PANGO_SCALE.Tor Lillqvist2002-09-249-34/+215
| | | | | | | | | | | | | | | | | | | | | | | 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/+44
| | | | | | | | | 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/mini-fribidi/makefile.mingw Remove. Not maintained.Tor Lillqvist2002-09-2311-99/+49
| | | | | | | | | | | | | | 2002-09-23 Tor Lillqvist <tml@iki.fi> * pango/mini-fribidi/makefile.mingw * pango/opentype/makefile.mingw.in: Remove. Not maintained. * 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 maintained.Tor Lillqvist2002-09-229-54/+61
| | | | | | | | | | | 2002-09-23 Tor Lillqvist <tml@iki.fi> * examples/makefile.mingw.in: Remove. Not maintained. * 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/+191
| | | | | | | | | | | * 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.
* Change according to change below so that build also with the manuallyTor Lillqvist2002-09-221-4/+4
| | | | | | | | 2002-09-23 Tor Lillqvist <tml@iki.fi> * 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.
* Minor spacing fixes, comment the Unicode ranges covered.Tor Lillqvist2002-09-2211-47/+186
| | | | | | | | | | | | | | | | | | | | | | 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. 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)
* Two very minor spacing fixes.Tor Lillqvist2002-09-212-2/+1
|
* Distribute specifically pango.aliases and pango.modules, not the wholeTor Lillqvist2002-09-217-14/+25
| | | | | | | | 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.
* Distribute also pango.aliases and pango.modules.Tor Lillqvist2002-09-2112-398/+1005
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-09-21 Tor Lillqvist <tml@iki.fi> * pango-zip.sh.in: Distribute also pango.aliases and pango.modules. * 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.
* Don't distribute pangowin32.aliases, which isn't used.Tor Lillqvist2002-09-218-2/+65
| | | | | | | | | | | | 2002-09-21 Tor Lillqvist <tml@iki.fi> * examples/Makefile.am (EXTRA_DIST): Don't distribute pangowin32.aliases, which isn't used. * examples/pangowin32.aliases: Add comment that the file is of historical interest only. Could be removed from CVS completely, but I'll keep it for a while because of the useful comments on how to get various non-Latin fonts.
* Fix problem where position wasn't updated properly.Owen Taylor2002-09-197-0/+31
| | | | | | 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.
* when checking automake version, run automake-1.4jacob berkman2002-09-057-1/+25
| | | | | | 2002-09-05 jacob berkman <jacob@ximian.com> * autogen.sh: when checking automake version, run automake-1.4
* 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)
* 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)
* Fix missing statics.Owen Taylor2002-08-2018-82/+167
| | | | | | | | | | | | | | | | Tue Aug 20 15:42:33 2002 Owen Taylor <otaylor@redhat.com> * 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)
* minor doc mergeOwen Taylor2002-08-201-5/+0
|
* hardcode aclocal-1.4/automake-1.4 so that users with both automake 1.6 andHavoc Pennington2002-08-187-3/+51
| | | | | | | | | | 2002-08-18 Havoc Pennington <hp@pobox.com> * autogen.sh: hardcode aclocal-1.4/automake-1.4 so that users with both automake 1.6 and 1.4 installed get the right automake. Means compilation from CVS will now require the latest automake 1.4 release, or manually creating symlinks called "automake-1.4" and "aclocal-1.4"
* Some fixes from #90267Owen Taylor2002-08-098-6/+75
| | | | | | | | | | | | | 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-088-4/+40
| | | | | | | | 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)
* 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)
* Released 1.0.4PANGO_1_0_4Owen Taylor2002-08-017-7/+48
| | | | | | | | | | Thu Aug 1 08:17:31 2002 Owen Taylor <otaylor@redhat.com> * Released 1.0.4 * pango/Makefile.am (EXTRA_DIST): List hfiles ofr conditionally built hfiles here so that they get picked up if the corresponding library isn't there at dist time.
* Released 1.0.4Owen Taylor2002-07-318-2/+61
| | | | | | | | | | Wed Jul 31 15:12:46 2002 Owen Taylor <otaylor@redhat.com> * Released 1.0.4 * NEWS: Updated. * configure.in: Version 1.0.4, binary, interface age 4.
* Argument to make_glyph() shouldn't have been unsigned char, since we passOwen Taylor2002-07-3110-18/+80
| | | | | | | | | | | | 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.
* 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.)
* added missing cast (ThaiFontInfo.info.face is just a gpointer, not anMichael Natterer2002-07-278-2/+32
| | | | | | | 2002-07-28 Michael Natterer <mitch@gimp.org> * modules/thai/thai-xft.c (make_glyph): added missing cast (ThaiFontInfo.info.face is just a gpointer, not an FT_Face)
* Fix problem where pango_xft_get_unknown_glyph() was being used for XOwen Taylor2002-07-2711-4/+67
| | | | | | | | | 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)
* Patch fromm Qingjiang (Brian) Yuan adding support for GB-18030,Owen Taylor2002-07-268-3147/+3397
| | | | | | | | | | Fri Jul 26 19:46:45 2002 Owen Taylor <otaylor@redhat.com> * 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
* Patch from Theppitak Karoonboonyanan that factors out common code fromOwen Taylor2002-07-2613-728/+1394
| | | | | | | | | | | 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)
* Add back non-spurious \$ removed in last commit.Owen Taylor2002-07-267-1/+25
| | | | | | Fri Jul 26 18:15:24 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/+58
| | | | | | | 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)
* File Edit Options Buffers Tools HelpOwen Taylor2002-07-258-7/+63
| | | | | | | | | | 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.
* use $X_CFLAGS when looking for Xft headers (#88363)jacob berkman2002-07-167-1/+31
| | | | | | | 2002-07-16 jacob berkman <jacob@ximian.com> * configure.in: use $X_CFLAGS when looking for Xft headers (#88363)
* pango/pangoft2.c (pango_ft2_get_per_char) Make load flagsOwen Taylor2002-07-157-2/+44
| | | | | | | | | Mon Jul 15 14:59:22 2002 Owen Taylor <otaylor@redhat.com> * pango/pangoft2.c (pango_ft2_get_per_char) * pango/pangoft2.c (pango_ft2_font_render_glyph): Make load flags FT_LOAD_NO_BITMAP, since we can't handle bitmaps at the moment in our render functions.
* Be more robust when trying to set the unicode character map on the font.Owen Taylor2002-07-108-66/+178
| | | | | | | | 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. (#86911)
* Fix nameOwen Taylor2002-07-106-6/+6
|