| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
2009-01-02 Behdad Esfahbod <behdad@gnome.org>
* pango/pangocairo-fcfontmap.c (pango_cairo_fc_font_map_finalize):
* pango/pangoft2-fontmap.c (pango_ft2_font_map_finalize):
Finalize FreeType library after finalizing the FC fontmap. Fixes
segfault in the PangoFT2FontMap's finalize.
svn path=/trunk/; revision=2775
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-12-25 Behdad Esfahbod <behdad@gnome.org>
* pango/modules.c (pango_module_load), (script_info_free):
* pango/opentype/harfbuzz-gpos.c (HB_Load_GPOS_Table):
* pango/pango-bidi-type.c:
* pango/pango-coverage.c (pango_coverage_ref),
(pango_coverage_unref):
* pango/pango-engine.c (pango_engine_shape_real_covers),
(fallback_engine_shape), (fallback_engine_covers):
* pango/pango-fontmap.c (pango_font_map_init):
* pango/pango-ot-ruleset.c (pango_ot_ruleset_finalize),
(pango_ot_ruleset_new):
* pango/pangofc-decoder.c (pango_fc_decoder_init),
(pango_fc_decoder_class_init):
* pango/pangofc-font.c (pango_fc_font_find_shaper),
(pango_fc_font_get_coverage):
* pango/pangofc-fontmap.c (pango_fc_font_map_list_families),
(pango_fc_make_pattern), (pango_fc_font_map_get_patterns),
(get_first_font), (_pango_fc_font_map_get_coverage),
(cleanup_font), (pango_fc_font_description_from_pattern),
(pango_fc_face_list_sizes), (pango_fc_family_list_faces):
* pango/pangoft2-fontmap.c (pango_ft2_font_map_get_resolution):
* pango/pangoft2-render.c (pango_ft2_renderer_init),
(pango_ft2_renderer_draw_trapezoid):
* pango/pangoft2.c (pango_ft2_font_get_face),
(pango_ft2_font_real_unlock_face),
(pango_ft2_free_glyph_info_callback):
Fix more warnings.
svn path=/trunk/; revision=2766
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-12-07 Behdad Esfahbod <behdad@gnome.org>
Bug 563557 – set g_get_prgname() in fc pattern
* docs/pango-sections.txt:
* pango/pangofc-fontmap.c (pango_fc_make_pattern):
* pango/pangofc-fontmap.h:
Add PANGO_FC_PRGNAME which is the fontconfig element "pangoprgname".
Populate it on all our fontconfig search patterns using
g_get_prgname(). See bug for sample use.
svn path=/trunk/; revision=2751
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-12 Sven Herzberg <sven@imendio.com>
Bug 547432: Deprecation of pango_(backend)_font_map_create_context()
not clean
reviewed by: Behdad Esfahbod
* pango/pangocairo-fontmap.c,
* pango/pangofc-fontmap.c,
* pango/pangoft2-fontmap.c,
* pango/pangowin32.c,
* pango/pangox.c,
* pango/pangoxft-fontmap.c: use "Deprecated:" for deprecation messages;
fix the deprecation version number
svn path=/trunk/; revision=2689
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-05 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-context.c:
* pango/pango-context.h:
Make the following API public:
pango_context_new()
pango_context_set_font_map()
* pango/pango-fontmap.c (pango_font_map_create_context):
* pango/pango-fontmap.h:
New public API:
pango_font_map_create_context()
* pango/pangocairo-context.c (pango_cairo_create_context):
* pango/pangocairo-font.c (_pango_cairo_font_get_metrics),
(_pango_cairo_font_private_get_hex_box_info):
* pango/pangocairo-fontmap.c (pango_cairo_font_map_create_context):
* pango/pangocairo.h:
Deprecate pango_cairo_font_map_create_context().
* pango/pangofc-font.c (pango_fc_font_get_metrics):
* pango/pangofc-fontmap.c (pango_fc_font_map_create_context):
* pango/pangofc-fontmap.h:
Deprecate pango_fc_font_map_create_context().
* pango/pangoft2-fontmap.c (pango_ft2_font_map_create_context),
(pango_ft2_get_context):
* pango/pangoft2.h:
Deprecate pango_ft2_font_map_create_context().
* pango/pangowin32.c (pango_win32_get_context),
(pango_win32_font_get_metrics):
* pango/pangowin32.h:
Deprecate pango_win32_get_context().
* pango/pangoxft-font.c (_pango_xft_font_get_mini_font):
* pango/pangoxft-fontmap.c (pango_xft_get_context):
* pango/pangoxft.h:
Deprecate pango_xft_get_context().
* pango/pangox-fontmap.c (pango_x_font_map_for_display):
* pango/pangox.c (get_context_info), (pango_x_get_context),
(pango_x_context_set_funcs), (pango_x_render_layout_line):
Deprecate pango_x_get_context(), again.
* docs/pango-sections.txt:
* docs/tmpl/fonts.sgml:
* pango-view/viewer-pangocairo.c (pangocairo_view_get_context):
* pango-view/viewer-pangoft2.c (pangoft2_view_get_context):
* pango-view/viewer-pangox.c (pangox_view_get_context):
* pango-view/viewer-pangoxft.c (pangoxft_view_get_context):
* pango/check.defs:
* pango/pango.def:
Update.
svn path=/trunk/; revision=2675
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-06-21 Johan Dahlin <jdahlin@async.com.br>
* *.[ch]: Include "config.h" instead of <config.h>
Command used:
find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
Rubberstamped by Behdad
svn path=/trunk/; revision=2657
|
|
|
|
|
|
|
|
|
| |
2007-01-16 Behdad Esfahbod <behdad@gnome.org>
*.c, *.h: Drop trailing whitespace.
svn path=/trunk/; revision=2163
|
|
|
|
| |
svn path=/trunk/; revision=2130
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2006-12-23 Behdad Esfahbod <behdad@gnome.org>
Bug 384543 – FcFontMatch misuse
* pango/pangofc-fontmap.c (pango_fc_face_describe):
Call FcConfigSubstitute and FcDefaultSubstitute before calling
FcFontMatch.
* pango/pangoft2.c (load_fallback_face):
Call _pango_ft2_font_map_default_substitute().
* pango/pangocairo-fcfontmap.c
(pango_cairo_fc_font_map_context_substitute):
Handle the case of context == NULL.
|
|
|
|
|
|
|
|
| |
2006-10-24 Behdad Esfahbod <behdad@gnome.org>
* pango/pangoft2-fontmap.c (pango_ft2_font_map_class_init),
(pango_ft2_font_map_get_resolution): Implement get_resolution for FT2
fontmaps.
|
|
|
|
|
|
|
|
| |
2006-03-30 Behdad Esfahbod <behdad@gnome.org>
Hook up pango-utils.h into the documentation, as we are installing
it anyway. Move some internal stuff to pango-impl-utils.h and make
source files include that instead.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2006-01-29 Behdad Esfahbod <behdad@gnome.org>
* modules/arabic/arabic-fc.c, modules/basic/basic-fc.c
modules/hebrew/hebrew-fc.c, modules/indic/indic-fc.c
modules/khmer/khmer-fc.c, modules/syriac/syriac-fc.c
modules/thai/thai-ot.c, modules/thai/thai-shaper.c
modules/tibetan/tibetan-fc.c: If locking font face failed,
do not assert, just return zero glyphs with an implicit
warning.
* pango/fonts.c, pango/glyphstring.c pango/modules.c
pango/pango-color.c, pango/pango-context.c
pango/pango-coverage.c, pango/pango-fontmap.c
pango/pango-glyph-item.c, pango/pango-item.c
pango/pango-layout.c, pango/pango-markup.c
pango/pango-ot-buffer.c, pango/pango-script.c
pango/pango-tabs.c, pango/pango-utils.c
pango/pangoatsui-fontmap.c, pango/pangocairo-fcfont.c
pango/pangocairo-fcfontmap.c, pango/pangocairo-fontmap.c
pango/pangocairo-win32font.c, pango/pangofc-font.c
pango/pangofc-fontmap.c, pango/pangoft2-fontmap.c
pango/pangoft2-render.c, pango/pangoft2.c
pango/pangowin32-fontcache.c, pango/pangoxft-font.c
pango/pangoxft-render.c, pango/break.c pango/ellipsize.c:
Use g_slice for allocating all types. Also, change some
g_error's to g_critical's...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2006-01-21 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-types.h, pango/pango-utils.h
(pango_matrix_get_font_scale_factor): Make matrix parameter const.
* pango/fonts.c, pango/pango-context.c, pango/pango-coverage.c,
pango/pango-fontset.c, pango/pango-layout.c, pango/pango-renderer.c,
pango/pango-types.h, pango/pango-utils.c,
pango/pangocairo-atsuifont.c, pango/pangofc-font.c,
pango/pangoft2-fontmap.c, pango/pangowin32-fontmap.c,
pango/pangowin32.c, pango/pangox-fontmap.c, pango/pangoxft-font.c:
Replace "Returns:" with "Return value:" in docs.
|
|
|
|
|
|
|
| |
2006-01-14 Behdad Esfahbod <behdad@gnome.org>
* */*.c, */*/*.c: Make sure #include <config.h> is the first include
in the file. (bug #158870, based on patch by Luis Menina)
|
|
|
|
|
|
|
|
|
|
|
| |
2005-11-23 Behdad Esfahbod <behdad@gnome.org>
* pango/fonts.c pango/pango-attributes.c pango/pango-context.c
pango/pango-glyph-item.c pango/pango-layout.c
pango/pango-script.c pango/pango-utils.c pango/pangofc-font.c
pango/pangoft2-fontmap.c pango/opentype/pango-ot-buffer.c
pango/opentype/pango-ot-ruleset.c: Added "Since:" tags to all
interfaces added after Pango 1.0. (#319116, Brian Cameron)
|
|
|
|
|
|
|
|
|
|
|
| |
2004-12-12 Tor Lillqvist <tml@iki.fi>
* pango/modules.c (read_modules)
* pango/pango-utils.c (read_alias_file,read_config_file): Use
gstdio wrappers. (#16111, Robert Ögren)
* pango/pangoft2-fontmap.c: Remove unneded includes of <dirent.h>
and <windows.h>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fri Sep 24 12:59:22 2004 Owen Taylor <otaylor@redhat.com>
* configure.in: Up version to 1.7.0.
* pango/pango-renderer.[ch] pango/pango.h pango/Makefile.am:
Add PangoRenderer, a base class that is subclassed to produce
rendering drivers for different backends and purposes.
* pango/pangoft2-private.h pango/pangoft2-render.c
pango/pangoft2.c: Move rendering into pangoft2-render.c,
use PangoRenderer.
* pango/pangoft2-fontmap.c pango/pangoft2-private.h: Add
_pango_ft2_font_map_get_renderer() to retrieve a singleton
fontmap for the fontmap.
* pango/pangoxft-render.[ch] pango/pangoxft.c pango/Makefile.am:
Make Xft rendering use PangoRenderer, add publically
visible, subclassable PangoXftRenderer.
* pango/pangoxft-fontmap.c pango/pangoxft-private.h: Add
_pango_xft_font_map_get_renderer() to retrieve a singleton
fontmap for the fontmap.
* examples/xftview.c examples/Makefile.am: Add a test program
using the Xft backend.
* docs/*: Update minimally for PangoRenderer.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sat Jul 10 17:33:38 2004 Owen Taylor <otaylor@redhat.com>
* pango/pangoft2-private.h pango/pangoft2-render.c
pango/pango-context.[ch] pango/pangoft2.[ch] pango/pango-utils.
pango/pango-types.h pango/pangofc-fontmap.c: Make PangoMatrix
arguments const where appropriate.
* pango/pango-context.c pango/fonts.c pango/pangofc-font.c
pangofc-fontmap.c pango/pangoft2.c pango/pangoft2-fontmap.c
pango/pangoxft-font.c pango/pangoxft-fontmap.c
pango/pangowin32-fontmap.c: Use G_DEFINE_TYPE comprehensively.
* pango/pangoft2-private.h pangoft2.c: Un-staticify
pango_ft2_font_get_type.
|
|
|
|
|
|
|
|
| |
Mon Jun 21 11:35:29 2004 Owen Taylor <otaylor@redhat.com>
* pango/pangoft2-fontmap.c (pango_ft2_font_map_new):
Revert the last change, assert that initialization
succeeded.
|
|
|
|
|
|
|
|
|
|
|
| |
Mon Jun 21 11:29:39 2004 Owen Taylor <otaylor@redhat.com>
* pango/pangoft2-fontmap.c (pango_ft2_font_map_new):
For cleanliness, unref the fontmap if we get an error
from FreeType. (#143524, Morten Welinder)
* pango/pangoft2-fontmap.c (pango_ft2_font_map_finalize):
Deal with NULL ft2fontmap->library.
|
|
|
|
|
|
|
| |
2003-12-05 Sven Neumann <sven@gimp.org>
* pango/pangoft2-fontmap.c: initialize the fontmap's resolution
to some sane default values. Fixes bug #123602.
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-20 Sven Neumann <sven@gimp.org>
* pango/pangoft2-fontmap.c: reverted the patch for bug #123602
since I only applied it accidentally. I still believe the patch
should go in though.
* pango/pangoft2.c: really applied the fix for #101856 as
described below.
|
|
|
|
|
|
|
|
|
|
| |
2003-11-18 Sven Neumann <sven@gimp.org>
* pango/pangoft2-fontmap.c: removed the set_unicode_charmap() call.
Made pango_ft2_font_real_get_glyph() use FcFreeTypeCharIndex()
rather than FT_Get_Char_Index(). Made pango_ft2_font_real_has_char()
use FcCharSetHasChar(). This allows to use PangoFT2 with all font
encodings supported by fontconfig and fixes bug #101856.
|
|
|
|
|
|
|
|
| |
Fri Aug 8 12:59:42 2003 Owen Taylor <otaylor@redhat.com>
* pango/pangoft2-fontmap.c (pango_ft2_font_map_default_substitute):
Move DPI substitution before FcDefaultSubstitute so
it actually works.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fri Aug 8 10:33:31 2003 Owen Taylor <otaylor@redhat.com>
* pango/pangoft2.h: Deprecate pango_ft2_get_context(),
pango_ft2_font_map_for_display(), pango_ft2_shutdown_display();
the explicit
* pango/pangoft2-fontmap.c (pango_ft2_shutdown_display):
Add docs about deprecations.
* examples/Makefile.am (INCLUDES): Add -DPANGO_DISABLE_DEPRECATED
* examples/pangoft2topgm.c: Fix deprecated usages; add
--dpi and --markup options. Improve error handling.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sat Aug 2 14:33:28 2003 Owen Taylor <otaylor@redhat.com>
* pango/Makefile.am (libpangoxft_1_0_la_LIBADD): Make
pangoxft depend on pangoft2.
* pango/pangofc-fontmap.[ch]: Make pangofc-fontmap.cI
into a real base class.
* pango/pangofc-font.[ch]: Move some of the pangoxft/
pangoft2 implementation here.
* pango/pangoft2.c pango/pangoft2-fontmap.c
pango/pangoft2-private.h pango/pangoxft-font.c
pango/pangoxft2-fontmap.c pango/pangoxft-private.h: Adapt
to the new scheme
* modules/*/Makefile.am Modules/*/*/*-fc.c: Don't build
separate FT2 and Xft shapers, just build one Fc shaper.
* docs/pango-sections.txt docs/pango-docs.sgml
docs/tmpl/pangofc-font{,map}.sgml: Basic docs for
the new stuff.
* configure.in: Up pango_module_version to 1.4.0.
|
|
|
|
|
|
|
| |
2003-03-28 Sven Neumann <sven@gimp.org>
* pango/pangoft2-fontmap.c
* pango/pangoxft-fontmap.c: fixed typos in inline docs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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)
|
|
|
|
|
|
|
|
|
|
| |
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}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mon Jul 1 19:45:10 2002 Owen Taylor <otaylor@redhat.com>
* pango/pangoxft-fontmap.c (pango_xft_set_default_substitute):
New function to allow tweaking of FcPattern default
substitution (for XSETTINGS support.)
* pango/pangoft2-fontmap.c pango/pangoft2.[ch]
pango/pangoft2-private.h: Rationalize DPI and
context creation by adding:
pango_ft2_font_map_new()
pango_ft2_font_map_set_resolution()
pango_ft2_font_map_set_default_substitute()
pango_ft2_font_map_create_context()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-06-03 Sven Neumann <sven@gimp.org>
* pango/pangoft2-fontmap.c (pango_ft2_font_map_list_families): set
n_families, fixes bug #83746.
|
|
|
|
|
|
|
|
| |
Tue May 14 12:02:13 2002 Owen Taylor <otaylor@redhat.com>
* pango/pangoxft-fontmap.c pango/pangoft2-fontmap.c:
Report standard aliases as uppercase, fix
pango_*_face_describe() for aliases.
|
|
|
|
|
|
|
|
|
| |
* pango/pangoxft-fontmap.c: Fake sans,serif,monospace
in the list of fonts.
* pango/pangoft2-fontmap.c: Fake aliases here as well.
(#78714, Xavier Cho.)
|
|
|
|
|
|
|
| |
2002-03-26 Alex Larsson <alexl@redhat.com>
* pango/pangoft2-fontmap.c (pango_ft2_font_map_load_font):
Free pattern after using it.
|
|
|
|
|
|
|
|
|
|
|
| |
Sun Feb 24 12:12:09 2002 Owen Taylor <otaylor@redhat.com>
* pango/pangoxft-fontmap.c (pango_xft_font_map_new_font):
Fix problem where we unref'ed before we ref'ed resulting
in entries in the cache that shouldn't have been there.
* pango/pangoft2-fontmap.c (pango_ft2_font_map_new_font):
Same.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* pango/fonts.c: (getword): isspace -> g_ascii_isspace
(pango_font_description_from_string): isspace -> g_ascii_isspace
* pango/modules.c: Remove unneeded <ctype.h> include.
* pango/pango-markup.c: (xml_isspace): New.
(pango_parse_markup): isspace -> xml_isspace
(span_parse_func): isdigit -> g_ascii_isdigit
* pango/pango-utils.c: (pango_trim_string): isspace -> g_ascii_isspace
(pango_skip_space): isspace -> g_ascii_isspace
(pango_scan_word): isspace -> g_ascii_isspace
(pango_scan_string): isspace -> g_ascii_isspace
(pango_scan_int): isspace -> g_ascii_isspace
* pango/pangoft2-fontmap.c: Remove unneeded <ctype.h> include.
* pango/pangox-fontmap.c: Remove unneeded <ctype.h> include.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fri Jan 11 15:01:13 2002 Owen Taylor <otaylor@redhat.com>
* pango/pangoft2-fontmap.c (pango_ft2_make_pattern)
pango/pangoxft-fontmap.c (pango_xft_make_pattern):
Split comma separated family names and add them in
pieces, so they are all visible to Xft.
* pango/pangoxft-fontmap.c: Remove duplicate XFT_FAMILY
in call to XftListFonts.
|
|
|
|
|
|
|
|
|
|
|
| |
2001-12-12 Alexander Larsson <alla@lysator.liu.se>
* pango/pangoft2-fontmap.c (pango_ft2_font_map_load_fontset):
Initialize MiniXft library before calling MiniXftConfigSubstitute.
* pango/mini-xft/minixftdir.c (MiniXftDirScan):
Changed back filename from MiniXftCache to XftCache for
compat with Xft.
|
|
|
|
|
|
|
|
|
| |
2001-12-04 Sven Neumann <sven@gimp.org>
* pango/pangoft2-fontmap.c
(pango_ft2_font_map_init): set n_families to -1 (uninitialized).
(pango_ft2_font_map_list_families): set n_faces to -1 (uninitialized).
This makes list_families and list_faces work again for PangoFT2.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fri Nov 2 08:50:16 2001 Owen Taylor <otaylor@redhat.com>
* pango/{fonts.c,pango-color.c,pango-utils.c,
pangoft2-fontmap.c,pangowin32-fontcache.c,
pangowin32-fontmap.c, pangox-fontmap.c}:
Patch from Darin Adler, with updates, to use
g_ascii_* instead of locale-dependent variants
(#55833).
* pango/fonts.c: Use g_ascii_dtostr, g_ascii_strtod().
|