| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Thu Jun 24 13:35:03 2004 Owen Taylor <otaylor@redhat.com>
* pango/pango-glyph-item.c (pango_glyph_item_apply_attrs):
Fix double cluster increment.
|
|
|
|
|
|
|
| |
Thu Jun 24 00:50:46 2004 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (pango_layout_run_get_extents): Fix
bug with using wrong uline value.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Wed Jun 23 16:13:53 2004 Owen Taylor <otaylor@redhat.com>
#143693, Sayamindu Dasgupta
* pango/opentype/pango-ot-buffer.c (pango_ot_buffer_set_zero_width_marks) pango/opentype/pango-ot-private.h:
Allow setting for whether marks should be given zero width,
defaulting to FALSE.
* modules/arabic/arabic-fc.c (arabic_engine_shape): Turn
on zero-width-marks setting.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Wed Jun 23 11:17:51 2004 Owen Taylor <otaylor@redhat.com>
* pango/pango-attributes.[ch]: Add new letter_spacing
attribute.
* pango/pango-attributes.c (pango_attr_rise_new): Correct
description; rise is in Pango units, not em-relative.
* pango/pango-glyph-item.c: Break out iteration-over-clusters
from ApplyAttrsState into a separate GlyphItemIter.
* pango/pango-glyph-item.[ch]: New function
pango_glyph_item_letter_space() to add add letter spacing
to a single glyph item.
* pango/pango-markup.c: Add a letter_spacing attribute.
* pango/pango-layout.c: Use G_DEFINE_TYPE().
* pango/pango-layout.c (pango_layout_get_item_properties):
Switch to use a structure rather than a pile of out
parameters.
* pango/pango-layout.c (pango_run_get_extents): Remove
the unused shape_set out parameter.
* pango/pangofc-decoder.[ch] pango/pangofc-fontmap.[ch]:
Doc fixes.
* pango/pango-types.h: Deprecate pango_get_mirror_char()
* pango/pango-utils.c (pango_get_mirror_char): Add docs.
* docs/pango-sections.txt docs/pango-docs.sgml: Add
PangoFcDecoder and letter spacing.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tue Jun 22 14:10:41 2004 Owen Taylor <otaylor@redhat.com>
* pango/break.c: Handle new Unicode-4.0 WORD_JOINER
and NEXT_LINE classes. (#143436, Jeroen Zwartepoorte)
* pango/break.c (pango_default_break): Handle space
followed by a combining character as called for by
TR 14.
* tests/testboundaries.c (check_line_char): Fix up
for space+combining mark
* pango/break.c (pango_default_break): Change fixme
for G_UNICODE_BREAK_SURROGATE to g_assert_not_reached().
|
|
|
|
|
|
|
|
| |
Tue Jun 22 10:39:32 2004 Owen Taylor <otaylor@redhat.com>
* pango/pangoft2-render.c (_pango_ft2_draw_error_underline,
_pango_ft2_draw_rect): Allow %NULL for @matrix.
(#144775, Diego González)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mon Jun 21 16:02:04 2004 Owen Taylor <otaylor@redhat.com>
#143556, Noah Misch
* pango/Makefile.am: Add $(no_undefined) when building libpangox,
libpangoxft for cygwin builds.
* modules/basic/Makefile.am (pango_basic_x_la_LDFLAGS):
Add $(no_undefined) for basic-x module.
* pango/Makefile.am: Add $(GLIB_LIBS) for pangox, pangoxft,
for benefit of cygwin, AIX, etc.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mon Jun 21 15:26:44 2004 Owen Taylor <otaylor@redhat.com>
* pango/pango-context.c (update_attr_iterator): Initialize
state->lang from context->language if not otherwise set.
Without doing this, the default language tag was, not
suprisingly, having no effect! (#137334, Frederic Zhang)
* pango/pango-attributes.c (pango_attr_iterator_get_font):
Fix typo in doc comment.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mon Jun 21 14:23:05 2004 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (no_shape_filter_func)
pango/pango-script.c (get_pair_index):
pango/modules.c (append_engines): Fix
some missing statics. (#142237, Morten Welinder)
* pango/mini-fribidi/fribidi_types.c: Move
fribidi_type_name inside the #ifdef DEBUG.
|
|
|
|
|
|
|
|
| |
Mon Jun 21 13:55:17 2004 Owen Taylor <otaylor@redhat.com>
* pango/opentype/otlbuffer.c: Use the gcc-3.3
strict-aliasing compatible macros from fterrcompat.h
(#140495, reported by Stanislav Brabec)
|
|
|
|
|
|
|
|
| |
Mon Jun 21 11:41:18 2004 Owen Taylor <otaylor@redhat.com>
* pango/pango-attributes.c (pango_attr_list_change):
Fix leak when inserting an empty attributes. (#140771,
Morten Welinder)
|
|
|
|
|
|
|
|
| |
Mon Jun 21 11:38:22 2004 Owen Taylor <otaylor@redhat.com>
* pango/pango-context.c (pango_context_set_font_map):
Handle setting the same object back. (#143523,
Morten Welinder)
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
2004-06-17 Christopher Blizzard <blizzard@redhat.com>
* pango/pangofc-decoder.c (pango_fc_decoder_get_glyph,
pango_fc_decoder_get_charset): Changes to support extra arguments.
* pango/pangofc-decoder.h (struct _PangoFcDecoderClass): Add the
PangoFcDecoder * as the first argument to the callbacks for
get_glyph and get_charset.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Wed Jun 9 17:32:59 2004 Christopher Blizzard <blizzard@redhat.com>
* pango/Makefile.am: Add export of pangofc-decoder.h. Build
pangofc-decoder.c.
* pango/pangofc-decoder.h pango/pangofc-decoder.c: New files.
Virtual base class for any custom font decoders.
* pango/pangofc-font.c: Add new PangoFcFontPrivate structure.
* pango/pangofc-font.c (pango_fc_font_class_init): Attach new
private structure using g_type_class_add_private().
* pango/pangofc-font.c (pango_fc_font_finalize): Make sure to
unset any decoders that are attached to the font.
* pango/pangofc-font.c (pango_fc_font_get_coverage): When
determining coverage, use a custom decoder if available.
* pango/pangofc-font.c (pango_fc_font_has_char): When determining
if a font has a character, use a custom decoder if available.
* pango/pangofc-font.c (pango_fc_font_get_glyph): When doing
single character to glyph convertions, use a custom decoder if
available.
* pango/pangofc-font.c (_pango_fc_font_get_decoder): New
function. Get the custom decoder for the given font.
* pango/pangofc-font.c (_pango_fc_font_set_decoder): New
function. Set a custom decoder for the given font.
* pango/pangofc-fontmap.c: Add structure PangoFcFindFuncInfo to
keep track of callbacks to create custom decoders. Modify
PangoFcFontMapPrivate by adding a list of PangoFcFontFuncInfo
callbacks that have been registered.
* pango/pangofc-fontmap.c (pango_fc_font_map_add_find_func): New
function. Add callbacks to the fontmap that will create custom
decoders when pango creates new fonts.
* pango/pangofc-fontmap.c (pango_fc_font_map_finalize): Clear out
any findfuncs that have been registered and notify them about
destruction.
* pango/pangofc-fontmap.c (pango_fc_font_map_new_font): When
creating new fonts, call back to any registered find functions so
they can create custom decoders for those fonts. Attach those
custom decoders to the newly created fonts.
* pango/pangofc-fontmap.c (_pango_fc_font_map_get_coverage):
Change the argument to take a PangoFcFont instead of an FcPattern.
Call _pango_fc_font_map_fc_to_coverage instead of doing the
conversion inline.
* pango/pangofc-fontmap.c (_pango_fc_font_map_fc_to_coverage): New
function. Convert an FcCharSet to a PangoCoverage object.
* pango/pangofc-fontmap.h: New declarations for
pango_fc_font_map_add_decoder_find_func and
PangoFcDecoderFindFunc.
* pango/pangofc-private.h: New declarations for
_pango_fc_font_map_fc_to_coverage, _pango_fc_font_get_decoder and
_pango_fc_font_set_decoder.
|
|
|
|
|
|
|
| |
Wed Jun 2 10:07:06 2004 Owen Taylor <otaylor@redhat.com>
* pango/pango-types.h (PANGO_MATRIX_INIT): Remove
stray semi-colon. (#143516, Morten Welinder)
|
|
|
|
|
|
|
|
| |
Mon May 31 07:39:01 2004 Owen Taylor <otaylor@redhat.com>
* pango/pango-utils.c pango/pango-types.h (pango_matrix_concat):
Fix 'new' as parameter name (C++ compatibility issue).
(#143430, David Hawthorne)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fri May 28 11:39:39 2004 Owen Taylor <otaylor@redhat.com>
* pango/pango-types.h pango/pango-utils.c: Add PangoMatrix
type for affine transforms.
* configure.in pango.pc.in pango/Makefile.am: Add a -lm
dependency for PangoMatrix operations.
* pango/pango-context.[ch]: Add pango_context_set/get_matrix().
* pango/pangoft2-render.c pango/pangoft2-private.h: Add
code for drawing antialiased transformed rectangles and
squiggly error underlines.
* pango/pangoft2.[ch]: Add pango_ft2_render_transformed(),
pango_ft2_render_layout_subpixel(),
pango_ft2_render_layout_line_subpixel(), implement transformed
rendering.
* pango/pangofc-font.c: Pass any transformation matrix on to
fontconfig when creating the pattern for a PangoFcFont.
|
|
|
|
|
|
| |
* pango/opentype/pango-ot-buffer.c (apply_gpos_ltr): Negate y offset
according to different conventions between PangoGlyphString and OTL
(#142544)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-04-29 Jody Goldberg <jody@gnome.org>
* pango/pango-layout.c (get_alignment) : only invert if the layout and
the context really disagree, not if they are WEAK_LTR vs LTR
2004-03-11 Jody Goldberg <jody@gnome.org>
* pango/pango-attributes.h : Add a comment clarifying that
PangoAttribute::end_index is _exclusive_. The range is [start..end)
Additionally clarify that that the indicies are in _bytes_ not
characters.
|
|
|
|
|
|
|
| |
Thu May 27 17:54:24 2004 Owen Taylor <otaylor@redhat.com>
* pango/opentype/otlbuffer.c: Revert error return changes
from last commit.
|
|
|
|
|
|
|
|
| |
Thu May 27 16:57:30 2004 Owen Taylor <otaylor@redhat.com>
* pango/opentype/otlbuffer.c: Free buffer->positions,
clean up error returns that were returning uninitialized
values. (#139239, Behdad Esfahbod)
|
|
|
|
|
|
|
| |
Thu May 27 15:42:20 2004 Owen Taylor <otaylor@redhat.com>
* pango/pangox-fontmap.c pango/pangox.c: Add some missing
statics. (#142299, Morten Welinder)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Thu May 27 15:32:03 2004 Owen Taylor <otaylor@redhat.com>
* pango/pango-font.h pango/fonts.c: Add underline and
strikethrough position and thickness metrics.
* pango/pangofc-font.c: Implement underline and strikethrough
position and thickness metrics.
* pango/pango-fontset.c (pango_fontset_real_get_metrics):
Initialize metrics from the metrics of the first font
in the fontset.
|
| |
|
|
|
|
|
|
|
| |
2004-04-29 Tor Lillqvist <tml@iki.fi>
* pango/pangowin32-fontmap.c (pango_win32_insert_font): Don't leak
family_name. (#140772, John Ehresman)
|
|
|
|
|
|
|
|
| |
2004-04-29 Tor Lillqvist <tml@iki.fi>
* pango/pangowin32-fontmap.c (pango_win32_font_map_for_display):
Use floating-point math in resolution calculation. (#141229, John
Ehresman)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tue Mar 16 11:24:46 2004 Owen Taylor <otaylor@redhat.com>
* === Released 1.4.0 ===
* configure.in: Version 1.4.0, interface ago 0. Require
glib-2.4.0.
* NEWS: Updates.
* README: Some updates; include details about the FreeType
license of the OpenType code.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Thu Mar 11 17:28:06 2004 Manish Singh <yosh@gimp.org>
* pango/pangofc-fontmap.c: Convert PangoStretch to and from FC_WIDTH,
so we can actually get fontconfig to match on condensed and expanded
versions of fonts, and have the info survive a pango_fc_face_describe
roundtrip. Fixes #131561.
* pango/pangox-fontmap.c: Remove unused function
free_coverages_foreach.
|
|
|
|
|
|
|
| |
2004-03-05 Tor Lillqvist <tml@iki.fi>
* pango/pango.def
* pango/pangoft2.def: Add missing entries. (#136339, J. Ali Harlow)
|
|
|
|
|
|
| |
2004-03-04 Tor Lillqvist <tml@iki.fi>
* pango/module-defs-win32.c.win32: Clarify comment.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-03-03 Hans Breuer <hans@breuer.org>
* pango/module-defs-win32.c.win32 : if PANGO_MODULE_PREFIX is
defined include the basic backend shaper (should have been
commited at 2003-12-12, too)
* pango/makefile.msc : generate correct type for PangoFontMask
(bug #135892, John Ehresman)
* pango/opentype/makefile.msc : updated
* pango/pango.def pango/pangoft2.def : more updatd externals
|
|
|
|
|
|
|
|
|
| |
2004-03-03 Tor Lillqvist <tml@iki.fi>
* NEWS: Correct spelling of my name.
* pango/Makefile.am (libpango_1_0_la_DEPENDENCIES): Add
pango-win32res.lo.
|
|
|
|
|
|
| |
2004-03-03 Tor Lillqvist <tml@iki.fi>
* pango/pango.def: Add some missing symbols. (#135980, J. Ali Harlow)
|
|
|
|
|
|
|
|
|
|
|
| |
2004-03-03 Tor Lillqvist <tml@iki.fi>
* pango/pango.def
* pango/pangoft2.def: Add some missing symbols. (#135945, Cedric
Gustin)
* pango/pangowin32-fontmap.c (pango_win32_family_get_name): Can be
static.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mon Mar 1 19:24:09 2004 Owen Taylor <otaylor@redhat.com>
* === Released 1.3.5 ===
* configure.in: Version 1.3.5 (1.3.4 skipped), interface age 0.
* NEWS: Update
* modules/arabic/arabic-fc.c (arabic_engine_shape):
Fix a crash from left-over handling of clusters
for non-spacing marks.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fri Feb 27 11:23:21 2004 Owen Taylor <otaylor@redhat.com>
Patch from Dov Grobgeld to add auto-direction to PangoLayout
(more of #70451)
* examples/pangofttopgm.c: Add --no-auto-dir argument.
* pango-layout.[ch]: Add pango_layout_set_auto_dir()
defaulting to TRUE; resolve paragraph direction within
a layout by propagating base direction downwards
from paragraph to paragraph.
* pango-context.[ch]: Add pango_itemize_with_base_dir()
which overrides the base direction from the PangoContext.
Mon Mar 1 10:01:58 2004 Owen Taylor <otaylor@redhat.com>
* docs/tmpl/text-attributes.sgml: Document %PANGO_UNDERLINE_ERROR.
* pango/pangofc-fontmap.c: Pango*Fc*FontmapPrivate. Make compile.
|
|
|
|
|
|
|
| |
2004-03-01 Murray Cumming <murrayc@murrayc.com>
* pango/pango-attributes.h: Removed trailing commas from the
enums - which causes warnings that break warnings-as-errors builds.
|
|
|
|
|
|
|
|
| |
Mon Mar 1 09:43:38 2004 Owen Taylor <otaylor@redhat.com>
* pango/pangofc-fontmap.c (pango_fc_font_map_finalize):
Remove the INSTANCE_PRIVATE_DATA_WORKS #ifdefs,
since it does work now.
|
|
|
|
|
|
|
|
| |
Sun Feb 29 15:54:51 2004 Owen Taylor <otaylor@redhat.com>
* pango/pangowin32.c pango/pangox.c pango/pangoft2.c:
Fix up off-by-one for right bound when drawing
PANGO_UNDERLINE_ERROR.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Patch from Nicolas Setton, #114237
* pango/pango-attributes.h pango/pango-markup.c: Add a
new underline type, PANGO_UNDERLINE_ERROR.
* pango/pangowin32.c pango/pangox.c pango/pangoft2.c:
Implement drawing of PANGO_UNDERLINE_ERROR.
* pango/pango-layout.c (pango_layout_run_get_extents):
Handle PANGO_UNDERLINE_ERROR.
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-02-29 Noah Levitt <nlevitt@columbia.edu>
* docs/pango_markup.sgml:
* docs/tmpl/text-attributes.sgml:
* pango/pango-attributes.c:
* pango/pango-attributes.h:
* pango/pango-context.c:
* pango/pango-markup.c: New attribute to turn font fallback on or off.
(#105553)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sun Feb 29 09:25:13 2004 Owen Taylor <otaylor@redhat.com>
Rework opentype interfaces and other changes to make GPOS
work for Arabic. (Most of #117282, #121060)
* pango/opentype/otlbuffer.[ch]: OTL_Buffer that
acts as a replacement for the separate GSUB and
GPOS string structures and hides many of the internal
details.
* pango/opentype/ftxgsub.[ch] pango/opentype/ftxgpos.[ch]:
Adapt to OTL_Buffer.
* pango/opentype/ftxgpos.c: Redo handling of cursive
chains so that it actually works.
* pango/pango-ot.h pango/opentype/pango-ot-buffer.c:
Pango wrapper around OTL_Buffer.
* pango/pango-ot.h pango/pango-ot-ruleset.c pango/pango-ot-buffer.c:
Split pango_ot_ruleset_shape() into pango_ot_ruleset_substitute(),
pango_ot_ruleset_position(), make them act on
PangoOTBuffer, add a separate pango_ot_buffer_output()
which does the default positioning and writes to a
PangoGlyphString.
* modules/arabic/arabic-fc.c modules/indic/indic-fc.c
modules/indic/mprefixups.[ch]: Adapt to new OpenType
interfaces; add GPOS features for Arabic.
* pango/opentype/pango-ot-info.c: Don't derive class information
from Unicode properties for Arabic presentation forms,
let the shaping process derive the properties.
|
|
|
|
|
|
|
|
|
|
| |
2004-02-28 Hans Breuer <hans@breuer.org>
* pango/pango.def : updated externals including
patch from J. Ali Harlow <ali@juiblex.co.uk>, fixes bug #135518
* pango/pangowin32-fontmap.c : implement list_sizes() and
is_monospace() members
|
|
|
|
|
|
|
| |
Fri Feb 27 11:24:50 2004 Owen Taylor <otaylor@redhat.com>
* pango/mini-fribidi/fribidi.c (pango_log2vis_get_embedding_levels):
Handle PANGO_DIRECTION_NEUTRAL.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fri Feb 27 09:30:10 2004 Owen Taylor <otaylor@redhat.com>
Add some new enum and values and utilities for supporting
automatically determined base direction. (#70451, based
on changes by Dov Grobgeld)
* pango/pango-types.h docs/tmpl/main.sgml: Add
PANGO_DIRECTION_WEAK_RTL/LTR, extend the docs for
PangoDirection.
* pango/pango-types.h pango/pango-utils.h: Move
pango_get_mirror_char() to pango-types.h.
* pango/mini-fribidi/fribidi.c (pango_log2vis_get_embedding_levels):
Handle new values of PangoDirection, handle
PANGO_DIRECTION_TTB_LTR/RTL as aliases for PANGO_DIRECTION_RTL/LTR.
* pango/mini-fribidi/fribidi.c pango/pango-types.h: Add
pango_unichar_direction().
* pango/pango-utils.c pango/pango-types.h: Add
pango_find_base_dir()
|
|
|
|
|
|
| |
2003-02-26 Noah Levitt <nlevitt@columbia.edu>
* pango/pangofc-fontmap.c: Use g_array_sort correctly.
|