summaryrefslogtreecommitdiff
path: root/pango
Commit message (Collapse)AuthorAgeFilesLines
* Skip lookups with lookup index out of range. (Patch from Behdad Esfahbod,Owen Taylor2005-07-262-12/+48
| | | | | | | 2005-07-26 Owen Taylor <otaylor@redhat.com> * pango/opentype/ftxgsub.c, pango/opentype/ftxgpos.c: Skip lookups with lookup index out of range. (Patch from Behdad Esfahbod, #171170)
* Fixes for signed/unsigned in PangoAttrIterator ((#166700, Morten Welinder)Owen Taylor2005-07-264-36/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-07-26 Owen Taylor <otaylor@redhat.com> Fixes for signed/unsigned in PangoAttrIterator ((#166700, Morten Welinder) * pango/pango-attributes.c (pango_attr_iterator_range): Clamp results to G_MAXINT to avoid negative numbers from signed/unsigned conversions. * pango/pango-attributes.c: Make PangoAttrIterator start_index/end_index unsigned to match PangoAttribute. Change various local variables to match. * pango/ellipsize.c (advance_iterator_to) pango/pango-attributes.c (pango_attr_iterator_range) pango/pango-glyph-item.c (pango_glyph_item_apply_attrs) pango/pango-layout.c (pango_layout_line_get_empty_extents): Always check the return value from pango_attr_iterator() to deal with potential infinite loops when trying to advance to position G_MAXINT. * pango/pango-layout.c (pango_layout_set_text): Handle the case where the text passed in is longer than than G_MAXINT and length < 0. * pango/pango-attributes.c (pango_attr_list_splice): Be careful about integer overflow - clamp addition. (#163246, Morten Welinder)
* Always set line->resolved_dir to one of LTR or RTL. (#171439, Reported byOwen Taylor2005-07-251-3/+26
| | | | | | | | 2005-07-25 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (line_set_resolved_dir): Always set line->resolved_dir to one of LTR or RTL. (#171439, Reported by Chris Blizzard)
* Add some missing statics on functions added in the recent layout iterOwen Taylor2005-07-221-3/+3
| | | | | | | 2005-07-22 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c: Add some missing statics on functions added in the recent layout iter patch.
* Remove an unecessary set of block2.Owen Taylor2005-07-222-0/+505
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-07-22 Owen Taylor <otaylor@redhat.com> * pango/opentype/ftglue.c (ftglue_realloc): Remove an unecessary set of block2. 2005-07-22 Owen Taylor <otaylor@redhat.com> Patch from David Turner. Review and testing by Behdad Esfahbod * pango/opentype/ftglue.[ch] Makefile.am: Glue layer that provides implementation of the internal functions that the opentype code expects in terms of publically exported FreeType API. * pango/opentype/ftxgdef.c pango/opentype/ftxgpos.c pango/opentype/ftxgsub.c pango/opentype/ftxopen.c pango/opentype/otlbuffer.c pango/opentype/pango-ot-info.c pango/opentype/pango-ot-ruleset.c: Remove includes of internal headers. Small changes to work with ftglue.[ch] * pango/opentype/fterrcompat.h: Remove: no longer needed. * pango/opentype/ftxgpos.c: Use FT_IS_SFNT(face) rather than poking at FT_MODULE_CLASS (face->driver)->module_name. * pango/opentype/ftxopen.c (Free_FeatureList): Free fl->ApplyOrder. (Found by Behdad)
* Patch from David Turner. Review and testing by Behdad EsfahbodOwen Taylor2005-07-228-37/+14
| | | | | | | | | | | | | | | | | | | | | | | | 2005-07-22 Owen Taylor <otaylor@redhat.com> Patch from David Turner. Review and testing by Behdad Esfahbod * pango/opentype/ftglue.[ch] Makefile.am: Glue layer that provides implementation of the internal functions that the opentype code expects in terms of publically exported FreeType API. * pango/opentype/ftxgdef.c pango/opentype/ftxgpos.c pango/opentype/ftxgsub.c pango/opentype/ftxopen.c pango/opentype/otlbuffer.c pango/opentype/pango-ot-info.c pango/opentype/pango-ot-ruleset.c: Remove includes of internal headers. Small changes to work with ftglue.[ch] * pango/opentype/fterrcompat.h: Remove: no longer needed. * pango/opentype/ftxgpos.c: Use FT_IS_SFNT(face) rather than poking at FT_MODULE_CLASS (face->driver)->module_name. * pango/opentype/ftxopen.c (Free_FeatureList): Free fl->ApplyOrder. (Found by Behdad)
* Fix underlining. (#304692) Mention in the doc comment that the DC's textTor Lillqvist2005-07-221-3/+9
| | | | | | | | | 2005-07-22 Tor Lillqvist <tml@novell.com> * pango/pangowin32.c (pango_win32_render_layout_line): Fix underlining. (#304692) Mention in the doc comment that the DC's text alignment needs to have TA_BASELINE and TA_LEFT for underlining to be correct.
* Force on metrics hinting for all Xft fonts (this fixes font metrics -Owen Taylor2005-07-211-0/+6
| | | | | | | | | 2005-07-21 Owen Taylor <otaylor@redhat.com> * pango/pangoxft-font.c (_pango_xft_font_new): Force on metrics hinting for all Xft fonts (this fixes font metrics - glyph metrics were fixed earlier). (#307196, Alex Jones)
* Fix up the operation of PangoLayoutIter, especially for Bidi (#89541,Owen Taylor2005-07-211-173/+243
| | | | | | | | | | | | | | | | | | | | | 2005-06-21 Owen Taylor <otaylor@redhat.com> Fix up the operation of PangoLayoutIter, especially for Bidi (#89541, based on a patch from Amit Aronovitch) * pango/pango-layout.c: Many changes to make iteration consistently in visual order. * pango/pango-layout.c (pango_layout_iter_next_char): Iterate through each character in the layout exactly once. (Including a hack to get two iterator positions for \r\n) * pango/pango-layout.c (pango_layout_iter_next_cluster): Only iterate through real clusters: that is, positions in the layout that have glyphs. * tests/testiter.c tests/Makefile.am: Add a (somewhat reworked) test from Amit for the operation of PangoLayoutIter.
* Avoid calling memcpy with a NULL argument. (#310021, Morten Welinder)Owen Taylor2005-07-211-1/+2
| | | | | | | 2005-07-21 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (pango_layout_set_text): Avoid calling memcpy with a NULL argument. (#310021, Morten Welinder)
* Fix up places where there is missing or incomplete Copyright and LicenseOwen Taylor2005-07-212-159/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-07-21 Owen Taylor <otaylor@redhat.com> Fix up places where there is missing or incomplete Copyright and License information (Reported by William N. Ray) * pango/opentype/fterrcompat.h: Mark as FreeType/GPL licensed. * pango/opentype/FT-license.txt: Make this the dual-licensing description that covers the FreeType code (FreeType's LICENSE.TXT) rather than the FTL. * pango/opentype/FTL.TXT: Move the FTL (referenced from FT-license.txt) to here. * modules/basic/basic-common.h modules/hebrew/hebrew-shaper.h modules/thai/thai-charprop.c modules/thai/thai-shaper.h tools/gen-script-for-lang.c tests/testcolor.c: Add LGPL header and copyright information. * modules/indic/indic-ot.[ch] modules/indic/indic-ot-class-tables.c modules/thai/thai-ot.[ch]: Add LGPL header. * modules/thai/thai-shaper.c modules/thai/thai-charprop.h: Minor fixes to copyright information. * modules/arabic/arabic-ot.c: Add Freetype license boilerplate.
* Remove pango_script_for_lang. It was never part of the public API, and isTor Lillqvist2005-06-261-1/+0
| | | | | | | | | | 2005-06-27 Tor Lillqvist <tml@novell.com> * pango/pango.def: Remove pango_script_for_lang. It was never part of the public API, and is now static. * modules/khmer/Makefile.am (INCLUDES): Drop superfluous trailing slash in -I path.
* Go back to honoring alpha in the XftColor passed in; it was a 1.6 => 1.8Owen Taylor2005-06-211-4/+23
| | | | | | | | 2005-06-21 Owen Taylor <otaylor@redhat.com> * pango/pangoxft-render.c (get_renderer): Go back to honoring alpha in the XftColor passed in; it was a 1.6 => 1.8 regression. (#169622, based on a patch from Mikael Magnusson)
* Fix some missing case variants in the switch statement. (#169852, MortenOwen Taylor2005-06-141-0/+2
| | | | | | | | 2005-06-14 Owen Taylor <otaylor@redhat.com> * pango/pango-utils.c (pango_parse_style): Fix some missing case variants in the switch statement. (#169852, Morten Welinder)
* Hand edit to fix a bug in the 4.0.0 data tables. (#173096, SukhjinderOwen Taylor2005-06-141-1/+1
| | | | | | | | | | | | 2005-06-14 Owen Taylor <otaylor@redhat.com> * pango/pango-script-table.h (struct): Hand edit to fix a bug in the 4.0.0 data tables. (#173096, Sukhjinder Sidhu) * tools/gen-script-table.pl: Some updates to handle newer formats (not actually regenerating tables at the moment, since the changes are large)
* #307433, Sebastien BacherOwen Taylor2005-06-141-0/+1
| | | | | | | | | 2005-06-14 Owen Taylor <otaylor@redhat.com> #307433, Sebastien Bacher * pango/Makefile.am (libpango_1_0_la_SOURCES): Add pango-color-table.h.
* Chain up from finalize. (#307547, Paolo Borelli)Owen Taylor2005-06-142-1/+5
| | | | | | | | | | | 2005-06-14 Owen Taylor <otaylor@redhat.com> * pango/opentype/pango-ot-info.c (pango_ot_info_finalize) pango/opentype/pango-ot-ruleset.c (pango_ot_ruleset_finalize): Chain up from finalize. (#307547, Paolo Borelli) * pango/opentype/pango-ot-info.c (pango_ot_info_finalizer): make accidentally public function static.
* Fix FALSE/TRUE typo that was causing crashes with fonts not containingOwen Taylor2005-06-142-3/+7
| | | | | | | | | | | 2005-06-14 Owen Taylor <otaylor@redhat.com> * pango/ellipsize.c (shape_ellipsis): Fix FALSE/TRUE typo that was causing crashes with fonts not containing ".". (#304039, Sebastien Bacher) * pango/pango-context.c (itemize_state_fill_shaper): Allow font to be NULL.
* Fix potential leak of state->base_font. (#168930, Ben Maurer, AivarsOwen Taylor2005-06-141-0/+2
| | | | | | | | 2005-06-14 Owen Taylor <otaylor@redhat.com> * pango/pango-context.c (itemize_state_finish): Fix potential leak of state->base_font. (#168930, Ben Maurer, Aivars Kalvans)
* Merge from HEAD:Hans Breuer2005-06-131-2/+2
| | | | | | | | | 2005-03-18 Hans Breuer <hans@breuer.org> Merge from HEAD: * pango/pangowin32.c(pango_win32_render_transformed) : matrix elements xy and yx are needed the other way around for XFORM
* Add support to pangowin32 for TrueType fonts covering more than the BMP.Tor Lillqvist2005-04-283-127/+259
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-04-28 Tor Lillqvist <tml@novell.com> Add support to pangowin32 for TrueType fonts covering more than the BMP. Fix handling of surrogate pairs in the Uniscribe shaper. (#302238) * pango/pangowin32-private.h (PangoWin32Face): Rename the unicode_table field to cmap. Keep track of its format (4 or 12). (format_12_cmap): Add struct for a format 12 cmap. * pango/pangowin32.c: Corresponding changes. Rename internal functions a bit. (get_format_12_cmap): New function, reads a format 12 cmap. (font_get_cmap): Look for both format 12 (which is preferred) and format 4 cmaps. (pango_win32_font_get_glyph_index, pango_win32_font_calc_coverage): Handle also format 12 cmaps. * modules/basic/basic-win32.c: Handle surrogate pairs in wchar_t strings properly. (unichar_index): New function. Given a wchar_t string and an index into it, calculate the index of the corresponding Unicode character. Each surrogate pair in the wchar_t is just one Unicode character. (set_up_pango_log_clusters, itemize_shape_and_place): Use unichar_index() instead of direct index into wchar_t string.
* Merge from HEAD:Tor Lillqvist2005-03-231-0/+1
| | | | | | | | 2005-03-23 Tor Lillqvist <tml@novell.com> Merge from HEAD: * pango/pango.def: Add missing pango_render_part_get_type. (#165287)
* Force fRTL for each item returned from ScriptItemize() to the bidiTor Lillqvist2005-03-202-46/+93
| | | | | | | | | | | | | | | | | | | | | | 2005-03-20 Tor Lillqvist <tml@novell.com> * modules/basic/basic-win32.c (itemize_shape_and_place): Force fRTL for each item returned from ScriptItemize() to the bidi embedding parity for the whole run. Pango passes us a run that it correctly has analyzed should be of a certain direction, but ScriptItemize() still might split it into items, some of which have neutral direction. (#170931) (uniscribe_shape, text_is_simple): Use g_utf8_to_utf16(). Merge from HEAD: * pango/pangowin32-private.h * pango/pangowin32.c (pango_win32_font_get_metrics): Cache metrics by language, like the other backends do. Don't try to get the width of the 0..9 digit string if the font doesn't cover digits. * modules/basic/Makefile.am (INCLUDES): Remove extraneous slash that confuses gcc on Win32.
* const correctness for _pango_fribidi_prop_to_typeManish Singh2005-03-052-2/+2
| | | | | | | | | Sat Mar 5 13:51:04 2005 Manish Singh <yosh@gimp.org> * pango/mini-fribidi/fribidi_types.[ch]: const correctness for _pango_fribidi_prop_to_type * tools/Makefile.am: dist gen-script-table.pl and gen-color-table.pl
* Reduce non-shared data (#168899, inspired by patches from Tommi KomulainenOwen Taylor2005-03-058-796/+1557
| | | | | | | | | | | | | | | | | | | | | | | | 2005-03-04 Owen Taylor <otaylor@redhat.com> Reduce non-shared data (#168899, inspired by patches from Tommi Komulainen and Ross Burton) * pango/pango-color.c pango/pango-color-table.h tools/gen-color-table.pl: Redo storage of colors to use offsets into a static string rather than embedded strings. (Inspired by a patch from Tommi Komulainen, #168899) * pango/break.c pango/fonts.c pango/pango-color.c pango/pango-layout.c pango/pango-markup.c pango/pango-script-lang-table.h pango/mini-fribidi/fribidi_types.c tools/gen-script-for-lang.c: Add const in various places * modules/arabic/arabic-fc.c modules/hebrew/hebrew-fc.c: modules/indic/{indic-fc.c,indic-ot-class-tables.c, indic-ot.h} modules/syriac/syriac-ot.c (syriac): Further addition of const.
* Add bug # to ChangeLogOwen Taylor2005-03-031-0/+1
|
* Call XftCharIndex() on the right font. (#163511)Owen Taylor2005-03-031-1/+2
| | | | | | | 2005-03-03 Owen Taylor <otaylor@redhat.com> * pango/pangoxft-render.c (pango_xft_renderer_draw_glyphs): Call XftCharIndex() on the right font. (#163511)
* For all binary searches, handle the case where the number of items is 0.Owen Taylor2005-03-032-24/+51
| | | | | | | | | | | | | | 2005-03-03 Owen Taylor <otaylor@redhat.com> * pango/opentype/ftxopen.c (Coverage_Index1, Coverage_Index2, Get_Class2): For all binary searches, handle the case where the number of items is 0. (#162977, Nick Lamb) * pango/opentype/ftxgdef.c (TT_GDEF_Build_ClassDefinition): Handle the case where glyph_count == 0 properly. Fix a problem with cleanups on memory allocation failure. (Get_New_Count, Add_Glyph_Property): Avoid reading off the end of the ClassRangeRecord array.
* For family names that add in numbers add a , to distinguish them fromOwen Taylor2005-03-021-7/+34
| | | | | | | | | 2005-03-02 Owen Taylor <otaylor@redhat.com> * pango/fonts.c (pango_font_description_from_string_: For family names that add in numbers add a , to distinguish them from family+size (#166540, debugging/testing by Manish Singh)
* Fix various typos in the docs (#163244, Morten Welinder)Owen Taylor2005-03-021-2/+2
| | | | | | | 2005-03-02 Owen Taylor <otaylor@redhat.com> * pango/pango-attributes.c (pango_attr_iterator_get_attrs): Fix various typos in the docs (#163244, Morten Welinder)
* Go back to using Xft-reported metrics for all non-transformed fonts.Owen Taylor2005-03-021-1/+1
| | | | | | | | | | | 2005-03-02 Owen Taylor <otaylor@redhat.com> * pango/pangoxft-font.c (pango_xft_font_get_glyph_extents): Go back to using Xft-reported metrics for all non-transformed fonts. Reporting non-integer glyph metrics for fonts where people have disabled hinting in their config causes various problems. (reported variously, including #167801, Adam Sampson)
* Redo the handling of absolute sizes for PangoAttribute to work aroundOwen Taylor2005-03-022-12/+26
| | | | | | | | | | | | | | | | | 2005-03-02 Owen Taylor <otaylor@redhat.com> Redo the handling of absolute sizes for PangoAttribute to work around compatibility problems with GtkHTML which was counting on the details of the implementation of size attributes. (#163154) * pango/pango-attributes.[ch] docs/tmpl/text-attributes.sgml: Split PANGO_ATTR_SIZE into PANGO_ATTR_SIZE and PANGO_ATTR_ABSOLUTE_SIZE, and use that distinction rather than the boolean field in PangoAttrSize to distinguish between attributes created pango_attr_size_new_absolute() and pango_attr_size_new()
* Don't break lines on LINE_SEPARATOR in single-paragraph mode. (#168589,Owen Taylor2005-03-012-2/+3
| | | | | | | | 2005-03-01 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (process_item): Don't break lines on LINE_SEPARATOR in single-paragraph mode. (#168589, Damon Chaplin)
* Delete FC_SPACING value out of pattern before passing it to Xft, toOwen Taylor2005-03-011-1/+4
| | | | | | | | | 2005-03-01 Owen Taylor <otaylor@redhat.com> * pango/pangoxft-font.c (xft_font_get_font): Delete FC_SPACING value out of pattern before passing it to Xft, to prevent Xft clipping characters and trashing metrics. (#164879, Billy Biggs)
* Build fixes from Andrew P. Lentvorski, Jr, #164655Owen Taylor2005-03-011-0/+5
| | | | | | | | | | | | | | 2005-03-01 Owen Taylor <otaylor@redhat.com> Build fixes from Andrew P. Lentvorski, Jr, #164655 * pango/pangoft2-render.c: Duplicate the FT_LOAD_TARGET_MONO/FT_LOAD_MONOCHROME back-compat define from pangoft2.c here * examples/Makefile.am (pango_xftview_LDADD): Add X_LIBS to pango_xftview_LDADD since some old versions of xft.pc didn't add -lX11.
* Use PKG_CHECK_MODULES not AM_PATH_GLIB_2_0 to avoid a problem where olderOwen Taylor2005-03-011-2/+3
| | | | | | | | | | | | 2005-03-01 Owen Taylor <otaylor@redhat.com> * configure.in: Use PKG_CHECK_MODULES not AM_PATH_GLIB_2_0 to avoid a problem where older verisons of AM_PATH_GLIB_2_0 silently ignored gmodule-no-export causing mysterious build failures. (#161786) * pango/Makefile.am (DISTCLEANFILES): Move some configure.in output files from CLEANFILES to DISTCLEANFILES.
* Minor doc fixes. (#167922, #167924, Billy Biggs)Owen Taylor2005-02-212-2/+2
| | | | | | | | 005-02-21 Owen Taylor <otaylor@redhat.com> * pango/fonts.c (pango_font_get_glyph_extents): * pango/shape.c (pango_shape): Minor doc fixes. (#167922, #167924, Billy Biggs)
* Add missing entry points.Tor Lillqvist2005-01-251-0/+3
| | | | | | 2005-01-25 Tor Lillqvist <tml@novell.com> * pango/pango.def: Add missing entry points.
* Revert some accidentally committed changes.Owen Taylor2005-01-062-137/+22
| | | | | | | Thu Jan 6 14:12:35 2005 Owen Taylor <otaylor@redhat.com> * pango/pangofc-fontmap.[ch]: Revert some accidentally committed changes.
* Fix reversed test on attr->absolute that was causing pixels sizes to beOwen Taylor2005-01-061-2/+2
| | | | | | | | | Thu Jan 6 12:29:31 2005 Owen Taylor <otaylor@redhat.com> * pango/pango-attributes.c (pango_attr_iterator_get_font): Fix reversed test on attr->absolute that was causing pixels sizes to be used inappropriately. (#163105, Ross Burton)
* Fix trailing comma in enum (#162618)Owen Taylor2005-01-041-1/+1
| | | | | | Tue Jan 4 14:14:28 2005 Owen Taylor <otaylor@redhat.com> * pango/break.c (enum): Fix trailing comma in enum (#162618)
* Fix doc sentences to parse. (#161812, Morten Welinder)Owen Taylor2005-01-041-2/+2
| | | | | | | Tue Jan 4 14:11:43 2005 Owen Taylor <otaylor@redhat.com> * pango/pango-attributes.c (pango_attr_list_splice): Fix doc sentences to parse. (#161812, Morten Welinder)
* Rename y1 parameters to y1_ to avoid conflicts with the math.h BesselOwen Taylor2005-01-042-5/+5
| | | | | | | | Tue Jan 4 14:05:13 2005 Owen Taylor <otaylor@redhat.com> * pango/pango-renderer.c (pango_renderer_draw_trapezoid): Rename y1 parameters to y1_ to avoid conflicts with the math.h Bessel function. (#161969)
* Fix problem where MEDIUM was getting grouped with SEMIBOLD rather thanOwen Taylor2004-12-313-3/+3
| | | | | | | | | | | | | | Fri Dec 31 10:20:55 2004 Owen Taylor <otaylor@redhat.com> * pango/pangofc-fontmap.c (pango_fc_convert_weight_to_pango): Fix problem where MEDIUM was getting grouped with SEMIBOLD rather than NORMAL. (http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=143832) Wed Dec 22 13:21:01 2004 Owen Taylor <otaylor@redhat.com> * pango/pango-script.c pango/pango-types.h: Fix a couple of documentation typos (#161647, Torsten Schoenfeld)
* Use FC_WEIGHT_MEDIUM, not FC_WEIGHT_NORMAL in old-fontconfig case.Owen Taylor2004-12-171-1/+1
| | | | | | | | | | | | | Fri Dec 17 14:37:49 2004 Owen Taylor <otaylor@redhat.com> * pango/pangofc-fontmap.c (pango_fc_convert_weight_to_fc): Use FC_WEIGHT_MEDIUM, not FC_WEIGHT_NORMAL in old-fontconfig case. (#161568, Vincent Noel) Fri Dec 17 12:44:10 2004 Owen Taylor <otaylor@redhat.com> * configure.in: Fix a couple of typos in the handling of tibetan for --with-included-modules. (#161501, Sebastien Bacher)
* Fix bug in computing logical_rect.x when layout->width == -1. (#161510,Owen Taylor2004-12-171-13/+32
| | | | | | | | Fri Dec 17 12:28:56 2004 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (pango_layout_get_extents_internal): Fix bug in computing logical_rect.x when layout->width == -1. (#161510, Morten Welinder)
* Add short and long descriptions.pango-1-8-branchpointOwen Taylor2004-12-162-22/+137
| | | | | | Thu Dec 16 14:03:32 2004 Owen Taylor <otaylor@redhat.com> * docs/tmpl/pango-renderer.sgml: Add short and long descriptions.
* Add pixel sizes for fonts (#119081, patch from Chris Lahey)Owen Taylor2004-12-168-36/+188
| | | | | | | | | | | | | | | | | | | | | Wed Dec 15 22:09:42 2004 Owen Taylor <otaylor@redhat.com> Add pixel sizes for fonts (#119081, patch from Chris Lahey) * pango/fonts.c pango/pango-font.h: Add pango_font_description_set_absolute_size(), pango_font_description_get_size_is_absolute() * pango/pango-attributes.[ch]: Add pango_attr_size_new_absolute(), change PANGO_ATTR_SIZE from PangoAttrInt to PangoAttrSize (preserves compat because first component is identical) * pango/pangowin32-fontmap.c (pango_win32_font_map_load_font): For absolute sizes, convert pixels to points, before calling pango_win32_font_new(). * pango/pangofc-fontmap.c pango/pangoft2.c pango/pangoxft-font.c: Handle absolute sizes.
* Copy layout->auto_dir. (#153547, Morten Welinder)Owen Taylor2004-12-141-0/+1
| | | | | | | Tue Dec 14 18:36:57 2004 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (pango_layout_copy): Copy layout->auto_dir. (#153547, Morten Welinder)
* Add $(libm), needed for no-undefined platforms like AIX. (#160773, VincentOwen Taylor2004-12-141-1/+1
| | | | | | | | Tue Dec 14 18:32:46 2004 Owen Taylor <otaylor@redhat.com> * pango/Makefile.am (libpangoft2_1_0_la_LIBADD): Add $(libm), needed for no-undefined platforms like AIX. (#160773, Vincent Berger)