| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
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}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tue Aug 20 17:31:39 2002 Owen Taylor <otaylor@redhat.com>
* Released 1.1.1.
* configure.in: Update versions numbers.
* NEWS: Updated.
* docs/pango-sections.txt: Updated.
* pango/pangoxft-font.c (pango_xft_font_[un]lock_face):
Fix docs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mon Aug 19 14:07:02 2002 Owen Taylor <otaylor@redhat.com>
* pango/pangofc-fontmap.cI (pango_fc_font_map_get_patterns):
Delete the FC_PATTERN out of the result of FcFontRenderPrepare(),
because it makes identical fonts look like not identical fonts.
* pango/pangofc-fontmap.cI (uniquify_pattern): pango/pangoft-fontmap.c
pango/pangoxft-fontmap.c: Use a hash table to uniquify the patterns
we cache to save memory and speed lookups.
* pango/pangoxft-font.c (pango_xft_font_get_font): Split into
a public wrappper (with g_return_if_fail()) around a static
internal function (without check).
* pango/pangoxft-fontmap.c (_pango_xft_font_map_get_info): Remove
checked cast, since it was showing up high on profiles.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fri Aug 16 17:49:38 2002 Owen Taylor <otaylor@redhat.com>
* pango/pangofc-fontmap.cI pango/pangoxft-fontmap.c
pango/pangoft2-fontmap.c pango/pangoxft-private.h
pango/pangoft2-private.h pango/pangoxft-font.c
pango/pangoft2.h: Move the common code between PangoXftFontmap
and PangoFT2Fontmap into a new file that is included from both
with appropriate #defines. This provides most of the
recent Xft backend improvements for the FT2 backend
as well.
|
|
|
|
|
|
|
|
|
|
| |
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)
* configure.in: Up PANGO_MODULE_VERSION to 1.1.0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mon Aug 5 23:12:13 2002 Owen Taylor <otaylor@redhat.com>
Patch from Keith Packard:
* pango/pangoxft-private.h (struct _PangoXftFont): Add
some comments.
* pango/pangoxft-private.h pango/pangoxft-font.c
pango/pangoxft-fontmap.c: Identify coverage by a
pair of filename and index within the filename instead
of just a filename, to handle TrueType Collection (TTC)
fonts.
* pango/pangoxft-fontmap.c (pango_xft_make_pattern):
Remove some leftover comments.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mon Aug 5 21:54:21 2002 Owen Taylor <otaylor@redhat.com>
* pango/pangoxft-fontmap.c (pango_xft_get_font_map): Export.
* pango/pango-context.[ch]: Add pango_context_get_fontmap(),
allow fontmap = NULL for pango_context_set_fontmap().
* pango/pangoxft-font.c pango/pangoxft-fontmap.c
(pango_xft_font_get_metrics): More work on allowing
displays to be shut down, while leaving basically
working fonts behind.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
* pango/pangoxft.h pango/pangoxft-font.c: Add
pango_xft_font_has_char()
to optimize for cases where we don't actually need
to load the font.
* pango/pangoxft.h: Document pango_xft_font_get_glyph().
* modules/basic/basic-xft.c (basic_engine_shape): Clean
up an unused variable warning.
|
|
|
|
|
|
|
| |
Mon Jul 15 20:22:46 2002 Owen Taylor <otaylor@redhat.com>
* pango/pangoxft-font.c: Fix trivial typo that was
causing the charcode hex boxes to be misrendered.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
* pango/pangoft2.c pango/pangoft2-private.h:
Obey FC_HINTING, FC_AUTOHINT.
|
|
|
|
|
|
|
|
| |
Mon Jun 3 22:16:35 2002 Owen Taylor <otaylor@redhat.com>
* pango/pangoxft-font.c (pango_xft_font_get_coverage):
Don't open the font unecessarily, we already have
the FcCharSet.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Xft2 and fontconfig conversion, based largely on a patch
from Keith Packard.
* configure.in acconfig.h: Add checks for fontconfig, switch
Xft checks to switch for Xft2 using pkg-config.
* pangoxft.pc.in pangoxft.pc.in
modules/{arabic,basic,hebrew,indic,tamil}/Makefile.am
pango/Makefile.am: Reflect new Xft/fontconfig dependencies.
* pango/pangoxft-private.h pango/pangoxft-fontmap.c
modules/arabic/arabic-xft.c modules/indic/indic-xft.c:
Switch over to using Xft2 and fontconfig.
* pango/pangoft2.c pango/pangoft2-fontmap.c pango/pangoft2-private.h
pango/pango/Makefile.am: Remove usage of mini-xft in
favor of fontconfig.
* pango/pango-ot.h pango/opentype/pango-ot-info.c pango/pangoxft.h
modules/arabic/arabic-{xft,ft2}.c modules/indic/indic-xft.c:
Attach OpenType information directly to the FT_Face
structure using FT_Generic.
* modules/tamil/Makefile.am modules/tamil/tamil-xft.c
configure.in: Remove this module, no longer needed.
* pango/pangoxft-font.c (pango_xft_real_render): Coalesce
calls to Xft rendering functions.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-03-26 Sven Neumann <sven@gimp.org>
* pango/pangoft2-private.h
* pango/pangoft2.c (pango_ft2_font_get_metrics): calculate
average_char_width and average_digit_width by measuring sample layouts
and cache font metrics per language just like PangoX does, #53425.
* pango/pangoxft-font.c
* pango/pangoxft-private.h: the same approach for average_char_width
and average_digit_width as in PangoFT2, #53425.
|
|
|
|
|
|
|
|
|
|
| |
Thu Mar 14 20:28:59 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Check for FT_Get_First_Char from
FreeType-2.0.9.
* pango/pangoft2.c pango/pangoxft-font.c: Use
FT_Get_First_Char/Get_Next_Char to accelerate coverage calculation.
|
|
|
|
|
|
| |
Thu Mar 14 20:02:58 2002 Owen Taylor <otaylor@redhat.com>
* examples/Makefile.am (EXTRA_DIST): Remove moc_view-qt.cc. (#74725)
|
|
|
|
|
|
|
|
| |
Fri Mar 1 14:37:47 2002 Owen Taylor <otaylor@redhat.com>
* pango/pangoxft-font.c (pango_xft_font_get_glyph_extents):
Treat glyph 0 as an 0 size, non-drawn glyph consistent
with other backends. (#71931)
|
|
|
|
|
|
|
|
|
| |
Tue Feb 26 15:50:35 2002 Owen Taylor <otaylor@redhat.com>
* pango/pangoxft-font.c (pango_xft_font_get_font): Try
to load something (load sans) if we can't load a font
that Xft listed. (Workaround for #72299, reported
by Gediminas Paulauskas)
|
|
|
|
|
|
| |
Thu Dec 20 00:18:10 2001 Owen Taylor <otaylor@redhat.com>
* pango/pangoxft-font.c (pango_xft_picture_render): Fix
doc comment.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-11-27 Alex Larsson <alexl@redhat.com>
* pango/pangoft2-private.h
* pango/pangoft2-fontmap.c (_pango_ft2_font_desc_from_pattern):
Take extra parameter include_size that determines if the
descriptor includes the size.
* pango/pangoft2.c (_pango_ft2_font_new):
Include size in ft2font->description.
* pango/pangoxft-private.h
* pango/pangoxft-fontmap.c (_pango_xft_font_desc_from_pattern):
Take extra parameter include_size that determines if the
descriptor includes the size.
* pango/pangoxft-font.c:
Include size in xfont->description.
|
|
|
|
|
|
|
|
| |
2001-11-26 Alex Larsson <alexl@redhat.com>
* pango/pangoxft-font.c (pango_xft_font_get_coverage):
Don't leak filename copy.
* pango/pangoxft-fontmap.c (pango_xft_font_map_load_font):
Don't leak matched pattern
|
|
|
|
|
|
|
|
|
| |
* docs/pango-sections.txt: Remove duplicates.
* docs/tmpl/fonts.sgml: Document PANGO_TYPE_FONTSET
and PANGO_TYPE_FONTSET_SIMPLE.
* pango/pangoxft-font.c: Fix typos in some doc comments.
|
|
|
|
|
|
|
|
| |
2001-11-20 Alex Larsson <alexl@redhat.com>
* pango/pangoxft-font.c (pango_xft_font_finalize):
Don't free font_pattern if we opened the XftFont, since the
XftFont claims ownership of it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-11-18 Alex Larsson <alexl@redhat.com>
* pango/pango-context.[ch]:
Add new function pango_context_load_fontset() to wrap
pango_font_map_load_fontset().
Add PangoContext arguments to load_font and load_fontset.
* pango/pango-fontmap.[ch]:
* pango/pangoft2-fontmap.c:
* pango/pangowin32-fontmap.c:
* pango/pangox-fontmap.c:
* pango/pangoxft-font.c:
* pango/pangoxft-fontmap.c
Add PangoContext arguments to load_font and load_fontset.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-11-17 Alexander Larsson <alla@lysator.liu.se>
* configure.in:
Check for LEX and YACC. This will be made optional later,
with the build sources checked in to cvs.
Generate pango/mini-xft/Makefile
* modules/basic/basic-ft2.c:
Use the new pangoft2 API.
* pango/Makefile.am:
Build mini-xft.
Add new files.
* pango/pango-context.[ch]:
Support only one fontmap per context.
Use pango_font_map_load_fontset() and PangoFontset instead
of internal fontset.
* pango/pango-fontmap.[ch]:
New virtual function pango_font_map_load_fontset() and
default implementation that uses pango_font_map_load_font().
* pango/pango-utils.[ch] (pango_lookup_aliases):
Utility function for looking up aliases. This can be
used by backend that has no backend specific aliases.
* pango/pangoft2-fontcache.c:
Removed file.
* pango/pangoft2-fontmap.c:
* pango/pangoft2-private.h:
* pango/pangoft2.c:
* pango/pangoft2.h:
Major rewrite. Doesn't handle fontsets. Uses mini-xft so that
it will always match the PangoXft backend. Simplified the
public API.
* pango/pangowin32.c:
* pango/pangox.c:
pango_context_add_font_map -> pango_context_set_font_map
* pango/pangoxft-font.c:
* pango/pangoxft-fontmap.c:
* pango/pangoxft-private.h:
New code to handle fontsets.
* pango/mini-xft/*:
Mini version of libXft from XFree86 in order to have
the pangoFT2 and pangXft backends have same config files and
generate the same fonts.
|
|
|
|
|
|
|
|
| |
Mon Nov 5 12:23:07 2001 Owen Taylor <otaylor@redhat.com>
* pango/pangoxft.h pango/pangoxft-font.c: Add a function
pango_xft_picture_render() to render onto an Xft picture
directly linstead of using the XftDraw wrapper object.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* pango/fonts.c, pango/pangoft2.c, pango/pangowin32.c,
pango/pangoxft-font.c, pango/pangox-fontmap.c,
pango/pangoft2-fontmap.c, pango/pangoxft-fontmap.c,
pango/pangowin32-fontmap.c, docs/pango-sections.txt,
docs/tmpl/coverage-maps.sgml, docs/tmpl/fonts.sgml,
docs/tmpl/freetype-fonts.sgml, docs/tmpl/glyphs.sgml,
docs/tmpl/layout.sgml, docs/tmpl/main.sgml, docs/tmpl/modules.sgml,
docs/tmpl/tab-stops.sgml, docs/tmpl/text-attributes.sgml,
docs/tmpl/win32-fonts.sgml: Documentation updates.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-15 Sven Neumann <sven@gimp.org>
* pango/pangoxft-font.c: another missing comment end marker and some
fixes in gtk-doc comments.
* pango/break.c
* pango/pango-layout.c
* pango/pangoft2.c
* docs/pango-sections.txt
* docs/tmpl/fonts.sgml
* docs/tmpl/x-fonts.sgml: documentation updates.
|
|
|
|
|
| |
* pango/pangox.c, pango/pangoxft-font.c, pango/pangoxft-fontmap.c,
docs/pango-sections.txt, docs/tmpl/fonts.sgml: Documentation updates.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tue Sep 18 15:47:08 2001 Owen Taylor <otaylor@redhat.com>
* configure.in (PANGO_MINOR_VERSION): Up to 0.19.
* pango/pango-font.h pango/pango-fontmap.[ch] pango/fonts.c
pango/pangoxft-fontmap.c pango/pangoft-fontmap.c pango/pango-context.[ch]
pango/pangox-fontmap.c: Add new PangoFontFace and PangoFontFamily
object types, and change the font listing API to list faces and
families, instead of face names and font descriptions.
* pango/pango-font.h pango/fonts.c: Make PangoFontDescription
an opaque heap-allocated structure, add accessors and
convenience functions.
* pango/pango-font.h pango/pango-private.h: Make PangoFontMetrics
heap allocated, protect the structure definition with
#ifdef PANGO_ENABLE_BACKEND, and add getters for the fields.
* pango/pango-attributes.[ch] ( pango_attr_iterator_get_font):
instead of providing a base font description and one to fill
in, provide a single font description to modify based on
the attributes.
* pango/pango-attributes.[ch]: Fix PangoAttrFontDesc to have
a PangoFontDescription by reference, not by value.
* pango/pango-utils.[ch]: make pango_parse_style() and friends
take pointers to individual enumerations instead of to a
PangoFontDescription structure.
* pango/*.c: Fix for the PangoFontDescription and PangoFontMetrics
changes.
* pango/pango-{break,engine,indic,ot,xft}.h pango/Makefile.am
pango/opentype/Makefile.am: Protect portions with
PANGO_ENABLE_ENGINE to shrink the public API.
* modules/*/Makefile.am: -DPANGO_ENABLE_ENGINE.
* pango/{pangox.h,pangox-private.h} modules/basic/basic-x.c: Move
pango_x_font_get_unknown_glyph() into public header since it is
used from modules.
* pango/pango-{context,font,fontmap,modules.utils}.h pango/Makefile.am:
Protect portions with PANGO_ENABLE_BACKEND to shrink the public API.
* pango/*.h: Use G_BEGIN/END_DECLS
* examples/viewer-qt.[cc,h]: Fix for changes to font listing API,
PangoFontDescription.
* pango/pango-indic.h modules/indic/*: Since we install this
header fix it up to Pango conventions, namespece
ZERO_WIDTH_JOINER, ZERO_WIDTH_NON_JOINER.
* docs/pango-sections.txt: Updated.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mon Sep 3 19:37:02 2001 Owen Taylor <otaylor@redhat.com>
* configure.in: Version 0.18
* NEWS: Updated.
* pango/pangoxft-font.c (pango_xft_font_finalize): Actually
free the XftFont (and description). Lack of such pointed out
by David Turner.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* modules/arabic/arabic-x.c: (arabic_engine_shape): Remove stray
semicolon.
* modules/arabic/arconv.h:
* modules/arabic/arconv.c: (shape), (doublelig), (arabic_reshape):
Use long* instead of int* for parameter to match what's passed in.
* modules/indic/bengali-x.c: Add missing <string.h> include.
(pango_indic_make_ligs): Use local variable that was added but not
ever used.
(pango_indic_engine_shape): Remove unused locals.
* modules/indic/devanagari-x.c: Add missing <string.h> include.
(pango_indic_engine_shape): Remove unused local.
* modules/indic/gujarati-x.c: Add missing <string.h> include.
(pango_indic_engine_shape): Remove unused local
* modules/tamil/tamil-x.c: (tamil_engine_shape): Initialize a
variable to quiet the compiler's unused warning.
* pango/.cvsignore: Ignore more generated files.
* pango/opentype/ftxgpos.c: (Get_Anchor): Add code to set up the
ap variable. The old code would just use the uninitialized value.
* pango/opentype/ftxopen.c: (Load_Coverage): Remove unused local.
* pango/opentype/pango-ot-ruleset.c: (pango_ot_ruleset_shape):
Remove unused local.
* pango/pango-attributes.c: (pango_attr_list_get_type),
(pango_color_get_type): Add needed function type casts (just
warnings under gcc, but could be errors in other compilers).
* pango/pangoxft-font.c: (pango_xft_font_get_metrics),
(pango_xft_font_get_coverage), (pango_xft_get_shaper_map),
(pango_xft_font_find_shaper): Switch from lang char* to
PangoLanguage*. The code was still compiling, but would not have
worked.
|
|
|
|
|
|
|
|
|
|
| |
Mon Jul 2 06:12:18 2001 Tim Janik <timj@gtk.org>
* pango/pangoxft-font.c:
* pango/pangox.c:
* pango/pangowin32.c:
* pango/pangoft2.c: s/shutdown/dispose/ to adapt to
GObject changes.
|
|
|
|
|
|
|
| |
Mon May 14 19:10:11 2001 Owen Taylor <otaylor@redhat.com>
* pango/pangoxft-font.c: Fix to correspond to extremely
odd choice of sign convention in libXft. (#51476)
|
|
|
|
|
|
|
|
| |
2001-04-20 Alexander Larsson <alexl@redhat.com>
* pango/pangoxft-font.c (pango_xft_font_get_metrics):
Set approximate_digit_width and approximate_char_width to
some cheesy value. Not good, but better than nothing.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tue Dec 19 22:47:16 2000 Owen Taylor <otaylor@redhat.com>
* configure.in pango-config.in pangoxft.pc.in
modules/basic/Makefile.am: Since Xft may only be available
statically without shlib deps, check for FreeType libs explicitly
and include them when linking, otherwise things won't work. Also,
define FREETYPE_CFLAGS from freetype-config --cflags.
* modules/basic/basic-xft.c pango/pangoxft-font{,map}.c: Fool
Xft into not converting glyph indices by loading the
face unencoded then calling FT_Set_Charmap ourselves.
* pango/Makefile.am pango/pango-ot.h pango/opentype/* :Add start
of opentype handling - most of the actually meat of the code here
is the OpenType layout code from FreeType 1 ported to freetype2
and adapted slighlty for our purposes. Also, includes a
incomplete OpenType-table-dumping code useful for figuring
out what is going on.
* pango/pangoxft.h pango/pangoxft-font.h: Add calls for
getting FT_Face and PangoOTInfo from PangoXftFont.
* modules/arabic/{Makefile.am,arabic-ot.[ch],arabic-xft.c}:
Initial support for rendering Arabic with OpenType fonts.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-15 Havoc Pennington <hp@redhat.com>
* modules/Makefile.am (install-data-local): touch
sysconfdir/pango/pango.modules even if there are no dynamic
modules, so pango won't spew warnings about pango.modules not
existing, and to simplify RPM file lists
* pango/pango-context.c (fallback_engine_shape): fix this to
avoid incrementing i twice
(fallback_shaper): fix initializer
* pango/querymodules.c (query_module): don't call g_module_close()
on a module that doesn't get opened successfully
* pango/modules.c: do not include modules.h
(init_modules): do not do the builtin modules here,
they are done by pangox
* pango/pangox.c (pango_x_get_context): register included modules
here
* pango/pangoxft-font.c: do not include modules.h
* pango/Makefile.am (libpango_la_SOURCES): move modules.c,
back in here (but not modules.h, which actually goes with
module-defs.c)
|
|
|
|
|
|
|
| |
Thu Dec 14 20:34:18 2000 Owen Taylor <otaylor@redhat.com>
* pango/pangoxft.h pango/pangoxft-font.c: (PANGO_TYPE_XFT_FONT): Add
PANGO_XFT_IS_FONT to the public header.
|
|
Thu Dec 14 19:00:46 2000 Owen Taylor <otaylor@redhat.com>
* modules/indic/pango-indic-script.h: Fix macro breakage.
* modules/basic/tables-big.i: Remove extra copy of basic_ranges.
* modules/thai/thai.c: Fix various warnings.
* configure.in Makefile.am pangoxft.pc.in pango-config.in
modules/basic/Makefile.am modules/basic/basic-xft.c
pango/Makefile.am pango/pangoxft-font.[ch] pango/pangoxft-fontmap.c
pango/pangoxft.h pango/pangoxft-private.h: Initial support
for rendering via Xft and the Xrender extension.
|