summaryrefslogtreecommitdiff
path: root/pango
Commit message (Collapse)AuthorAgeFilesLines
* Switch over the way that module entry points work, taking advantage of theOwen Taylor2003-04-149-51/+514
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Mon Apr 14 06:02:34 2003 Owen Taylor <otaylor@redhat.com> * modules/thai/{thai-fc.c,thai-shaper.c,thai-x.c}: * modules/*/*-{xft,x,win32.c} pango/pango-engine.h modules/*/Makefile.am: Switch over the way that module entry points work, taking advantage of the new automake capability for per-target CFLAGS for shared sources. * pango/pangofc-font.[ch] pango/pangoxft-font.c pango/pangoft2.c: Add a base class for PangoXft and PangoFT2 font classes so code can be shared between FT2 and Xft backends. * configure.in modules/*/Makefile.am modules/{arabic,basic,hangul,hebrew,indic,thai}: Move *-xft.c to *-fc.c and share between Xft and FT2 backends; adds FT2 backend capabilities for hangul/indic/thai. * pango/pangoxft.h pango/pangoft2.h: Deprecate APIs that moved into PangoFcFont * modules/basic/basic-fc.c (set_glyph): Add kerning handling from FT2 backend.
* disable antialiasing if requested. Fixes bug #109370.Sven Neumann2003-04-031-13/+30
| | | | | | | | | | | 2003-04-03 Sven Neumann <sven@gimp.org> * pango/pangoft2.c (pango_ft2_font_get_face) (pango_ft2_font_render_glyph): disable antialiasing if requested. Fixes bug #109370. * pango/pangoft2.c (pango_ft2_render): fixed rendering of monochrome bitmaps.
* pango/pangoft2.c (pango_ft2_render_layout) pango/pangowin32.cSven Neumann2003-04-023-185/+58
| | | | | | | | | | 2003-04-02 Sven Neumann <sven@gimp.org> * pango/pangoft2.c (pango_ft2_render_layout) * pango/pangowin32.c (pango_win32_render_layout) * pango/pangox.c (pango_x_render_layout): use a PangoLayoutIter to iterate over the lines and let render_layout_line() do the actual rendering. Fixes bug #105292.
* pango/pangoft2-fontmap.c fixed typos in inline docs.Sven Neumann2003-03-282-2/+2
| | | | | | | 2003-03-28 Sven Neumann <sven@gimp.org> * pango/pangoft2-fontmap.c * pango/pangoxft-fontmap.c: fixed typos in inline docs.
* make similar changes to the ones on glib head (call gtk-docize, etc).James Henstridge2003-03-112-187/+206
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-11 James Henstridge <james@daa.com.au> * autogen.sh: make similar changes to the ones on glib head (call gtk-docize, etc). * configure.in: move some calculations into M4 macros, rather than calculating them when configure runs. Use AC_HELP_STRING where appropriate. Replace gtk-doc checks with a call to GTK_DOC_CHECK. Replace AC_OUTPUT_COMMANDS() call with a number of calls to AC_CONFIG_COMMANDS (once per created file). Get rid of the "chmod +x pango-config" bit, because there is no pango-config anymore. * Makefile.am: get rid of custom distcheck rule, and set DISTCHECK_CONFIGURE_FLAGS, which is equivalent. Use += to select which .pc files to install. * pango/Makefile.am: Add rules to rebuild module-defs* files, and remove them on clean. Reorder so that rules related to each individual library are next to each other. Use BUILT_SOURCES for built sources. * pango/opentype/Makefile.am: don't use STRIP_BEGIN/STRIP_END. * modules/*/Makefile.am: simplify module makefiles through use of +=, and regularise them a bit (fixed a few bugs in the process). * docs/Makefile.am: remove common rules, and instead include gtk-doc.make. * examples/Makefile.am: add pango.modules to CLEANFILES. * tests/Makefile.am: remove temporary files on clean.
* Add an --enable-debug configure argument defaulting to 'yes' for unstableOwen Taylor2003-02-1711-206/+207
| | | | | | | | | | | | | | | | | | | | | | | | | | | Mon Feb 17 13:06:39 2003 Owen Taylor <otaylor@redhat.com> * configure.in **/Makefile.am: Add an --enable-debug configure argument defaulting to 'yes' for unstable releases and 'minimum' for stable releases. For minimum, -DG_DISABLE_CAST_CHECKS. * pango/pangofc-fontmap.cI pango/pangoft2-fontmap.c pango/pangoxft-fontmap.c: Add caching of fontsets (#104495, initial patch and review by Soeren Sandmann) * pango/pangofc-fontmap.cI pango/pangoft2-fontmap.c pango/pangoxft-fontmap.c pango/pangoft2-private.h pango/pangoxft-private.h: Remove cache of recently freed fonts; not necessary now that we cache fontsets. * pango/pangofc-fontmap.cI (pango_fc_pattern_set_free): Rename from pango_fc_font_set_free to reflect what it actually does. * pango/pangofc-fontmap.cI pango/pangoft-fontmap.c pango/pangoxft-fontmap.c: Combine clear-the-cache functions; we didn't need separate clear-the-font-cache and clear-the-pattern-cache functions.
* fix a typo in the @bitmap argument description. s/line/layoutChema Celorio2003-02-161-1/+1
| | | | | | | Sun Feb 16 09:10:12 2003 Chema Celorio <chema@celorio.com> * pango/pangoft2.c (pango_ft2_render_layout): fix a typo in the @bitmap argument description. s/line/layout
* Fix bug where language tag changes were not causing the font to be lookedOwen Taylor2003-02-121-4/+5
| | | | | | | | Wed Feb 12 17:09:00 2003 Owen Taylor <otaylor@redhat.com> * pango/pango-context.c: Fix bug where language tag changes were not causing the font to be looked up again. (bugzilla.redhat.com #84034)
* Up the FreeType version requirement to 2.0.9. (2.2.1 had a compilationOwen Taylor2003-02-121-4/+0
| | | | | | | | | | Wed Feb 12 16:59:23 2003 Owen Taylor <otaylor@redhat.com> * configure.in pango/opentype/fterrcompat.h README: Up the FreeType version requirement to 2.0.9. (2.2.1 had a compilation failure with older versions, this catches it more cleanly, and removes some unneeded checks. #105302, problem reported by Will Partain.)
* Guard against pango_layout_set_text (pango_layout_get_text (layout));Owen Taylor2003-02-121-4/+7
| | | | | | | | | Wed Feb 12 16:48:46 2003 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (pango_layout_set_text): Guard against pango_layout_set_text (pango_layout_get_text (layout)); (#105612, Morten Welinder)
* Fix an off-by-one error when checking if are off the end of the coverageOwen Taylor2003-01-291-2/+4
| | | | | | | | | | | Tue Jan 28 18:20:45 2003 Owen Taylor <otaylor@redhat.com> * pango/pango-coverage.c (pango_coverage_set/get): Fix an off-by-one error when checking if are off the end of the coverage array. (#102284, Morten Welinder.) * pango/pango-coverage.c (pango_coverage_get/set): Add g_return_if_fail for index >= 0.
* Break out of loop if char is 0xFFFF. Some fonts have tables terminatedTor Lillqvist2003-01-291-0/+3
| | | | | | | | 2003-01-29 Tor Lillqvist <tml@iki.fi> * pango/pangowin32.c (pango_win32_font_calc_coverage): Break out of loop if char is 0xFFFF. Some fonts have tables terminated like this.
* Avoid crash with string such as " 12" (bug #103674)Padraig O'Briain2003-01-171-1/+1
| | | | | | | 2003-01-17 Padraig O'Briain <padraig.obriain@sun.com> * pango/fonts.c (pango_font_description_from_string): Avoid crash with string such as " 12" (bug #103674)
* Export TT_New_GDEF_Table to create an empty GDEF table.Owen Taylor2003-01-113-14/+144
| | | | | | | | | | | | | Fri Jan 10 18:56:36 2003 Owen Taylor <otaylor@redhat.com> * pango/opentype/ftxgdef.c: Export TT_New_GDEF_Table to create an empty GDEF table. * pango/opentype/pango-ot-info.c: If the font doesn't have a class definition table, synthesize one using the charmap and the unicode properties of characters in the charmap. (Needed to make things work with various old Arabic fonts, such as the KACST fonts)
* Some unit fixups (#96335)Owen Taylor2002-12-202-12/+13
| | | | | | | | | | | | | | | | | | | | Fri Dec 20 11:59:22 2002 Owen Taylor <otaylor@redhat.com> Some unit fixups (#96335) * pango/pango-layout.c pango/pango-mapping.c: Fix occurrences of "in thousandths of a device unit" to say "in #PangoGlyphUnit" which will give a link to the PangoGlyphUnit docs. * docs/tmpl/text-attributes.sgml: Change 1000 to PANGO_SCALE. * docs/tmpl/glyphs.sgml: Fix docs for PangoGlyphUnit, fix mention of value of PANGO_SCALE from 1000 to 1024. * pango/pango-layout.c (pango_layout_line_get_x_ranges): Fix the docs for @ranges so it doesn't sound like the coordinates are in pixels.
* When we get an isolated tone in isolation, do something reasonable ratherOwen Taylor2002-12-172-0/+24
| | | | | | | | | | | | | Mon Dec 16 19:28:18 2002 Owen Taylor <otaylor@redhat.com> * modules/hangul/hangul-xft.c (render_isolated_tone): When we get an isolated tone in isolation, do something reasonable rather than just return no glyphs and causing an assertion failure. (#100625) * pango/pangofc-fontmap.cI (_pango_fc_font_map_get_coverage): Add a hack to force Hangul marks to be be rendered in the same font as base Hangul glyphs.
* === Released 1.1.5 ===PANGO_1_1_5Owen Taylor2002-12-104-0/+20
| | | | | | | | | | | Tue Dec 10 18:37:19 2002 Owen Taylor <otaylor@redhat.com> * === Released 1.1.5 === * pango/pango-attributes.h pango/pango-font.h pango/pango-fontset.h pango/pango-fontmap.h: Add explicit /*< public >*/ /*< private *>/ guards. (See #95398 for gtk-doc changes making this necessary)
* Draw the unknown glyph box with X primitives rather than hoping that someOwen Taylor2002-12-091-85/+86
| | | | | | | | | | | | | Sun Dec 8 22:57:55 2002 Owen Taylor <otaylor@redhat.com> * pango/pangox.c: Draw the unknown glyph box with X primitives rather than hoping that some font has an actualpainting unknown glyph... that code was apparently still working badly. Use "en" not NULL as the language tags for getting the metrics for the return glyph and the unknown character glyph... NULL gives too large results. (#98245, Based on a patch from Morten Welinder.)
* Free the iter. (Fix from Kjartan Maraas, #100672)Owen Taylor2002-12-081-0/+2
| | | | | | | Sun Dec 8 15:22:10 2002 Owen Taylor <otaylor@redhat.com> * pango/pango-glyph-item.c (pango_glyph_item_apply_attrs): Free the iter. (Fix from Kjartan Maraas, #100672)
* Document PangoIndicScript. Document.Matthias Clasen2002-12-071-0/+7
| | | | | * docs/tmpl/pango-indic.sgml: Document PangoIndicScript. * pango/pangowin32.c (pango_win32_get_dc): Document.
* Print out an informative error message and exit(1) if no fonts are found.Owen Taylor2002-12-074-7/+31
| | | | | | | | | | | Sat Dec 7 01:05:25 2002 Owen Taylor <otaylor@redhat.com> * pango/pangofc-fontmap.cI (pango_fc_font_map_get_patterns): Print out an informative error message and exit(1) if no fonts are found. (#98672) * pango/pangoft2.c (pango_ft2_font_get_face): Fix some bugs in the last commit.
* Don't use face->generic.data to hold the size the face is currently setOwen Taylor2002-12-071-17/+11
| | | | | | | | | | Sat Dec 7 00:10:02 2002 Owen Taylor <otaylor@redhat.com> * pango/pangoft2.c (pango_ft2_font_get_face): Don't use face->generic.data to hold the size the face is currently set to; we don't need it currently and it interferes with the use of face->generic.data for OpenType data. (#93822, frequently reported bug)
* Roughly clip glyphs into the X coordinate area to avoid wrap-around.Owen Taylor2002-12-072-24/+44
| | | | | | | | Fri Dec 6 23:07:58 2002 Owen Taylor <otaylor@redhat.com> * pango/pangoxft-font.c (pango_xft_real_render) pango/pangox.c (pango_x_render): Roughly clip glyphs into the X coordinate area to avoid wrap-around. (#73199)
* Dynamically allocate submap arrays so we aren't constrained to the BMP.Owen Taylor2002-12-071-18/+37
| | | | | | | | Fri Dec 6 19:42:33 2002 Owen Taylor <otaylor@redhat.com> * pango/modules.c (map_get_submap): Dynamically allocate submap arrays so we aren't constrained to the BMP. (#100307, Federic Zhang)
* Use octal escapes rather than hex to avoid the problem over having hexOwen Taylor2002-12-071-19/+19
| | | | | | | | Fri Dec 6 18:58:25 2002 Owen Taylor <otaylor@redhat.com> * pango/pango-utils.lo: Use octal escapes rather than hex to avoid the problem over having hex digits immediately after the hex escape.
* Convert literal UTF-8 to hex escapes. (#92050, Arnaud Carlet)Owen Taylor2002-12-062-20/+20
| | | | | | | | | | | Fri Dec 6 18:30:36 2002 Owen Taylor <otaylor@redhat.com> * pango/pango-utils.c: Convert literal UTF-8 to hex escapes. (#92050, Arnaud Carlet) * pango/testfonts.c: Convert literal ISO-8859-1 to UTF-8 hex escapes. (Don't know how passing ISO-8859-1 to pango_shape() was working...)
* Convert [sf]printf to g_[sf]printf, or, where appropriate g_printerr().Owen Taylor2002-12-064-26/+25
| | | | | | | | | | | | Fri Dec 6 18:07:48 2002 Owen Taylor <otaylor@redhat.com> * modules/indic/devanagari-x.c, pango/modules.c pango/pango-utils.c pango/pangoft2.c pango/querymodules.c: Convert [sf]printf to g_[sf]printf, or, where appropriate g_printerr(). (Based on patch from Matthias Clasen, #99321) * configure.in: Require glib-2.1.3.
* === Released 1.1.4 ===Owen Taylor2002-12-033-1/+5
| | | | | | | | | | | | | | | | | Mon Dec 2 17:22:34 2002 Owen Taylor <otaylor@redhat.com> * === Released 1.1.4 === * configure.in: Up version to 1.1.4, interface age 0. * NEWS: Updated. * pango/pangoxft-fontmap.c (pango_fc_do_finalize) * pango/pangoft2-fontmap.c (pango_fc_do_finalize): Fix leaks of fontmap->substitute_data. (#99850) * pango/Makefile.am (INCLUDES): Fix accidental reference to pango-script-table.h.
* Rename PangoLayoutRun to PangoGlyphItem (with a typedef for compat), addOwen Taylor2002-12-038-31/+463
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sun Nov 17 23:28:26 2002 Owen Taylor <otaylor@redhat.com> * pango/pango-glyph-item.[ch] pango/pango-layout.h: Rename PangoLayoutRun to PangoGlyphItem (with a typedef for compat), add pango_glyph_item_split(), pango_glyph_item_apply_attrs(). * pango/pango-attributes.[ch]: Add pango_attr_list_filter(), pango_attr_iterator_get_attrs(). * pango/pango-layout.c: Remove attributes that don't affect shaping before shaping, shape and then add them back. Fixes the infamous "underscores break arabic shaping" bug (#83058) * pango/pango-item.h: Remove an extraneous include. * pango/pango-layout.c (imposed_shape): Fix bytes/chars problem for glyph->log_clusters. * pango/pango-layout.c (cluster_end_index) * pango/pango-layout.c (pango_layout_iter_next_cluster): Fix confusion between global indices and run-relative indices. * docs/tmpl/glyphs.sgml: Improve docs for log_clusters. * docs/*: Document new API and PangoOTRuleset
* Add docs.Matthias Clasen2002-11-283-4/+7
| | | | | | | | | | * docs/tmpl/xft-fonts.sgml: * docs/tmpl/freetype-fonts.sgml: Add docs. * pango/pangoxft-fontmap.c (pango_xft_substitute_changed): * pango/pangoft2-fontmap.c (pango_ft2_font_map_set_default_substitute): Fix doc typos.
* Mark 1.2 API additions, fix some doc comments.Matthias Clasen2002-11-284-6/+68
| | | | | | | | | | | | * pango/pangoxft-fontmap.c: * pango/pangoxft-font.c: * pango/pangowin32.c: * pango/pangoft2-fontmap.c: Mark 1.2 API additions, fix some doc comments. * pango/pangoft2-fontmap.c (pango_ft2_font_map_set_default_substitute): Implement this function. (#99850)
* Do not add GLIB_CFLAGS to CFLAGS.Sebastian Wilhelmi2002-11-263-6/+9
| | | | | | | | | | | | | | | | 2002-11-26 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * configure.in: Do not add GLIB_CFLAGS to CFLAGS. * docs/Makefile.am, examples/Makefile.am, modules/arabic/Makefile.am, modules/basic/Makefile.am, modules/hangul/Makefile.am, modules/hebrew/Makefile.am, modules/indic/Makefile.am, modules/tamil/Makefile.am, modules/thai/Makefile.am, pango/Makefile.am, pango/mini-fribidi/Makefile.am, pango/opentype/Makefile.am: Instead add $(GLIB_CFLAGS) directly to INCLUDES (GTKDOC_CFLAGS for docs/Makefile.am). Also some cosmetic line wrapping and reindentation.
* Clarify the meaning of the @end parameter. (#96843, Jungshik Shin)Owen Taylor2002-11-261-1/+2
| | | | | | | | Mon Nov 25 20:25:23 2002 Owen Taylor <otaylor@redhat.com> * pango/glyphstring.c (pango_glyph_string_extents_range): Clarify the meaning of the @end parameter. (#96843, Jungshik Shin)
* Remove some confusing left over verbiage in API docs about what fontOwen Taylor2002-11-261-2/+1
| | | | | | | | | Mon Nov 25 19:57:02 2002 Owen Taylor <otaylor@redhat.com> * pango/fonts.c (pango_font_description_free): Remove some confusing left over verbiage in API docs about what font descriptions could be freed. (#96558, Michael R. Walton.)
* Fix off-by-one in check for non-BMP characters. (#91834, He Qiangqiang)Owen Taylor2002-11-261-1/+1
| | | | | | | | Mon Nov 25 19:24:29 2002 Owen Taylor <otaylor@redhat.com> * pango/mini-fribidi/fribidi_get_type.c (_pango_fribidi_get_type): Fix off-by-one in check for non-BMP characters. (#91834, He Qiangqiang)
* Add more debugging output.Tor Lillqvist2002-11-121-2/+6
| | | | | | | | | | | | | 2002-11-12 Tor Lillqvist <tml@iki.fi> * pango/pangowin32-fontcache.c (free_cache_entry, cache_entry_unref, pango_win32_font_cache_load): Add more debugging output. * modules/basic/basic-win32.c (uniscribe_shape): Plug memory leak: Free return value from pango_win32_font_logfont(). Call pango_win32_font_cache_unload() for the hfont returned from pango_win32_font_cache_load() after using it.
* Trivial s/foo/foo_/ fixes to make pango.h includable with -WshadowSoeren Sandmann2002-11-087-27/+27
| | | | | | | | | | | | | | | | | | | Fri Nov 8 20:02:09 2002 Soeren Sandmann <sandmann@daimi.au.dk> * docs/tmpl/coverage-maps.sgml: * docs/tmpl/glyphs.sgml: * docs/tmpl/layout.sgml: * docs/tmpl/x-fonts.sgml: * pango/mapping.c: * pango/pango-coverage.c: * pango/pango-coverage.h: * pango/pango-glyph.h: * pango/pango-layout.c: * pango/pango-layout.h: * pango/pangox.h: Trivial s/foo/foo_/ fixes to make pango.h includable with -Wshadow (#91680).
* === Released 1.1.3 ===PANGO_1_1_3Owen Taylor2002-11-022-0/+2
| | | | | | | | | | | | | | Fri Nov 1 21:08:42 2002 Owen Taylor <otaylor@redhat.com> * === Released 1.1.3 === * configure.in: Version 1.1.3 * NEWS: Updated. * pango/pangofc-fontmap.cI (pango_fc_font_set_free): Free font_set->patterns. (Found by Sven Neumann, #91698)
* Don't break at the first char in the first item on a line. FixesAlexander Larsson2002-10-231-3/+6
| | | | | | | | 2002-10-23 Alexander Larsson <alexl@redhat.com> * pango/pango-layout.c (can_break_in): Don't break at the first char in the first item on a line. Fixes regression in linebreaking (#95900).
* Add --with-usp10 flag to indicate where to find the usp10.h header, forTor Lillqvist2002-10-215-91/+199
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. * 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/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, init_uniscribe): New functions. (dump_glyphs_and_log_clusters, lang_name, charset_name): Debugging functions.
* Get rid of unnecessary casts for g_object_{ref,unref}Manish Singh2002-10-1412-38/+38
| | | | | | | | | | Mon Oct 14 15:39:41 2002 Manish Singh <yosh@gimp.org> * pango/pango-context.c pango/pango-layout.c pango/pangoft2.c pango/pangowin32-fontmap.c pango/pangowin32.c pango/pangox-fontmap.c pango/pangox.c pango/pangoxft-font.c pango/pangoxft-fontmap.c pango/testfonts.c pango/opentype/pango-ot-ruleset.c: Get rid of unnecessary casts for g_object_{ref,unref}
* Add, implement and document PANGO_WRAP_WORD_CHARAlexander Larsson2002-10-042-50/+72
| | | | | | | | 2002-10-04 Alexander Larsson <alexl@redhat.com> * pango/pango-layout.[ch]: * docs/tmpl/layout.sgml: Add, implement and document PANGO_WRAP_WORD_CHAR
* ligatures can be also used in MarkBasePos lookups. (2001-03-17 WernerOwen Taylor2002-09-291-3/+10
| | | | | | | 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-293-10/+13
| | | | | | | | | | | 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-281-2/+4
| | | | | | | | | | | | | 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.
* INCLUDED_WIN32_MODULES was missing from a couple of places. (#93372)Tor Lillqvist2002-09-251-2/+2
| | | | | | | 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-242-35/+101
| | | | | | | | | | | | | | | | | | | | | | | 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-232-52/+1
| | | | | | | | | 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/makefile.mingw.in pango/mini-fribidi/makefile.mingw Remove. NotTor Lillqvist2002-09-236-199/+1
| | | | | | | | | | | | | | | | 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.
* Make color parsing more robust and correct. (#93804)Matthias Clasen2002-09-221-42/+42
| | | | | | | | | | | * 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.