summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Add a stdlib include for getenv(). (#85836, David L. Cooper III)Owen Taylor2002-07-108-44/+76
| | | | | | | Wed Jul 10 06:12:37 2002 Owen Taylor <otaylor@redhat.com> * pango/mini-xft/minixftlex.l: Add a stdlib include for getenv(). (#85836, David L. Cooper III)
* Fixed segfault, see ChangeLogMatthias Warkus2002-07-027-1/+37
|
* Support new Arabic characters in Unicode 3.2. (Patch from RoozbehOwen Taylor2002-06-167-1/+37
| | | | | | | | Sat Jun 15 23:26:41 2002 Owen Taylor <otaylor@redhat.com> * modules/arabic/arabic-ot.c: Support new Arabic characters in Unicode 3.2. (Patch from Roozbeh Pournader.)
* Released 1.0.3.PANGO_1_0_3Owen Taylor2002-06-138-2/+60
| | | | | | | | | | Thu Jun 13 16:57:59 2002 Owen Taylor <otaylor@redhat.com> * Released 1.0.3. * configure.in: Version 1.0.3, binary, interface age 3. * NEWS: Updates.
* Fix problem with attr_list == NULL. (#85079, Andreas J. Guelzow)Owen Taylor2002-06-137-0/+38
| | | | | | | | Thu Jun 13 16:39:01 2002 Owen Taylor <otaylor@redhat.com> * pango/pango-markup.c (pango_parse_markup): Fix problem with attr_list == NULL. (#85079, Andreas J. Guelzow)
* Use unsigned char for bitfield array. (#83257, David L. Cooper II)Owen Taylor2002-06-128-8/+62
| | | | | | | | | | | Wed Jun 12 11:19:08 2002 Owen Taylor <otaylor@redhat.com> * modules/tamil/tamil-x.c: Use unsigned char for bitfield array. (#83257, David L. Cooper II) * tests/gen-all-unicode.c (main): Used char, not guchar for array of characters. (#83258, David L. Cooper II.)
* Change @glyph2 parameter of arabic_*_recode() to be a gunichar* likeOwen Taylor2002-06-1210-4/+46
| | | | | | | | | Wed Jun 12 11:08:35 2002 Owen Taylor <otaylor@redhat.com> * modules/arabic/langboxfont.[ch] modules/arabic/naqshfont.[ch]: Change @glyph2 parameter of arabic_*_recode() to be a gunichar* like @glyph. (Fixes warning with Solaris 8 compiler; #83256, David L. Cooper II)
* Remove pangoft2.aliases from CVS/distribution; it is no longer used.Owen Taylor2002-06-128-19/+36
| | | | | | | | Wed Jun 12 11:02:04 2002 Owen Taylor <otaylor@redhat.com> * examples/Makefile.am (EXTRA_DIST) examples/pangoft2.aliases: Remove pangoft2.aliases from CVS/distribution; it is no longer used. (#82736, Sven Neumann.)
* Don't leak raw_metrics and don't copy refcounts. (#84533)Matthias Clasen2002-06-107-3/+35
| | | | | * pango/pango-fontset.c (pango_fontset_real_get_metrics): Don't leak raw_metrics and don't copy refcounts. (#84533)
* set n_families, fixes bug #83746.Sven Neumann2002-06-037-1/+34
| | | | | | | 2002-06-03 Sven Neumann <sven@gimp.org> * pango/pangoft2-fontmap.c (pango_ft2_font_map_list_families): set n_families, fixes bug #83746.
* Use complete PANGO_VERSION in zip file names.Tor Lillqvist2002-05-2613-27/+199
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-26 Tor Lillqvist <tml@iki.fi> * pango-zip.sh.in: Use complete PANGO_VERSION in zip file names. * pango/Makefile.am: (Win32) Compile resource files and link with them. * pango/pango.rc.in * pango/pangoft2.rc.in * pango/pangowin32.rc.in: Include also the micro version number. * pango/pangowin32-fontcache.c (logfont_hash): Use absolute value of lfHeight. * pango/pangowin32-fontmap.c (pango_win32_font_map_for_display): Instead of HORZSIZE which is Windows idea of physical monitor width (but which can be *very* wrong), use LOGPIXELSY (the "logical" dpi). This can be set by the user by choosing "small fonts", "large fonts", or a custom dpi in the Display Settings. Thanks to Joaquin Cuenca Abela. (pango_win32_make_matching_logfont): Set lfHeight to the negative of the requested size. Positive lfHeight indicates "cell height", negative "character height" (?), which is closer to what we want, says Joaquin Cuenca Abela.
* Released 1.0.2.PANGO_1_0_2Owen Taylor2002-05-236-0/+24
| | | | | | Thu May 23 16:52:55 2002 Owen Taylor <otaylor@redhat.com> * Released 1.0.2.
* Don't draw fillers when drawing Jamos with ksc5601 fallback.Changwoo Ryu2002-05-237-0/+33
| | | | | * modules/hangul/hangul-x.c (render_syllable_with_ksc5601): Don't draw fillers when drawing Jamos with ksc5601 fallback.
* Version 1.0.2, interface, binary age 2.Owen Taylor2002-05-228-2/+34
| | | | | | Wed May 22 16:07:16 2002 Owen Taylor <otaylor@redhat.com> * configure.in: Version 1.0.2, interface, binary age 2.
* Fix C++ comment. (#82035, David L. Cooper II)Owen Taylor2002-05-217-1/+31
| | | | | | | Tue May 21 15:27:41 2002 Owen Taylor <otaylor@redhat.com> * modules/basic/tables-big.i: Fix C++ comment. (#82035, David L. Cooper II)