| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-05 Changwoo Ryu <cwryu@debian.org>
* 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_ksx1001johab): Renamed from
render_syllable_with_ksx1005(). (#95800).
(render_syllable_with_ksx1005): Fixed wrong fallback glyphs
indices (#95800).
(render_syllable_with_ksx1001johab): Checks whether a given L+V+T?
jamos are modern ones before rendering as a precomposed syllable
(#96179).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
* 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): New functions.
(dump_glyphs_and_log_clusters, lang_name, charset_name): Debugging
functions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-10-22 Tor Lillqvist <tml@iki.fi>
* 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/hangul/hangul-x.c (hangul_engine_shape): Fixed leaks
when the Hangul jamos length >= 6 (#95730).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-10-14 Sven Neumann <sven@gimp.org>
* modules/arabic/arabic-ft2.c (get_ruleset): unref the PangoOTInfo
after extracting the ruleset from it (#91541).
* pango/pangoft2-fontmap.c (pango_ft2_font_map_finalize)
* pango_pangoxft-fontmap.c (pango_xft_font_map_finalize): destroy
the fonts hash_table (#91697).
* pango/pangoft2-fontmap.c (pango_ft2_font_set_free)
* pango_pangoxft-fontmap.c (pango_xft_font_set_free): free the
pattern array (#91698).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
* 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.)
|
|
|
|
|
|
|
| |
2002-09-25 Tor Lillqvist <tml@iki.fi>
* pango/Makefile.am: INCLUDED_WIN32_MODULES was missing from a
couple of places. (#93372)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
2002-09-05 jacob berkman <jacob@ximian.com>
* autogen.sh: when checking automake version, run automake-1.4
|
|
|
|
|
|
|
|
|
|
| |
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?
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
| |
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"
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
| |
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.)
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
| |
Fri Jul 26 18:15:24 2002 Owen Taylor <otaylor@redhat.com>
* Add back non-spurious \$ removed in last commit.
|
|
|
|
|
|
| |
Fri Jul 26 18:11:56 2002 Owen Taylor <otaylor@redhat.com>
* Fix a leftover spurious \$ from the last commit.
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
2002-07-16 jacob berkman <jacob@ximian.com>
* configure.in: use $X_CFLAGS when looking for Xft headers
(#88363)
|
|
|
|
|
|
|
|
|
| |
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.
|