| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-04-08 Behdad Esfahbod <behdad@gnome.org>
Bug 491553 – Update to Unicode 5.1.0
* docs/tmpl/scripts.sgml:
* pango/mini-fribidi/README:
* pango/mini-fribidi/fribidi_tab_char_type_2.i:
* pango/pango-script-lang-table.h:
* pango/pango-script.h:
Update to Unicode Character Databse 5.1.0. This adds new entries to
the PangoScript enum. Requires glib >= 2.16.3 for the update Unicode
data there, but not bumping the requirement in a stable point release.
svn path=/trunk/; revision=2587
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-04-08 Behdad Esfahbod <behdad@gnome.org>
* configure.in:
* pango/pangocairo-atsui.h:
* pango/pangocairo-atsuifont.c:
Try making our OS X stuff compile with latest cairo 1.5.x snapshots
that renamed cairo-atsui to cairo-quartz-font.
svn path=/trunk/; revision=2586
|
|
|
|
|
|
|
|
|
|
| |
2008-03-21 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-layout.c (get_x_offset): When doing ALIGN_CENTER,
round line offset to whole pixel if hinting.
svn path=/trunk/; revision=2584
|
|
|
|
|
|
|
|
|
|
|
| |
2008-03-11 Richard Hult <richard@imendio.com>
* pango/pangocairo-atsuifont.c (_pango_cairo_atsui_font_new):
Adapt the shear matrix for synthesized italic to work with cairo
1.5.13+, where the quartz surface has been fixed for transformed
text.
svn path=/trunk/; revision=2583
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-02-28 Behdad Esfahbod <behdad@gnome.org>
Bug 518084 – Thai is not Virama language
Patch from Theppitak Karoonboonyanan
* pango/break.c: Remove Thai Phinthu from VIRAMA()
svn path=/trunk/; revision=2580
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-02-25 Behdad Esfahbod <behdad@gnome.org>
Bug 511172 – pango_layout_set_height() with positive height always
shows at least two lines
* pango/pango-layout.c (should_ellipsize_current_line),
(pango_layout_check_lines),
(pango_layout_get_empty_extents_at_index),
(pango_layout_line_get_empty_extents):
Initialize line_height using empty-line extents.
svn path=/trunk/; revision=2577
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-02-24 Tor Lillqvist <tml@novell.com>
Bug 515484: Pango on Windows is missing Type 1
font support
Patch from Adrian Johnson.
* pango/pangowin32-private.h (PangoWin32Face): Add has_cmap field
that tells whether the font has a cmap or not. A Type 1 font
doesn't.
* pango/pangowin32.c (pango_win32_font_get_type1_glyph_index): New
static function. Uses GetGlyphIndicesW() to get the glyph indices
for Type 1 fonts. Possibly also TrueType fonts that for some
reason lack the cmap formats we understand.
(pango_win32_font_calc_type1_coverage): New static function. Uses
GetFontUnicodeRanges() to get the coverage for Type 1 fonts, and
possibly TrueType fonts that lack the cmap formats we understand.
(pango_win32_font_get_glyph_index): Set has_cmap to false if the
font doesn't have a cmap. Call
pango_win32_font_get_type1_glyph_index() in that case.
(pango_win32_font_calc_coverage): Set has_cmap to false if the
font doesn't have a cmap. Call
pango_win32_font_calc_type1_coverage() in that case.
* pango/pangowin32-fontmap.c (pango_win32_enum_proc): Accept also
Type 1 fonts.
(pango_win32_insert_font): Initialise has_cmap tentativaly to True.
svn path=/trunk/; revision=2573
|
|
|
|
|
|
|
|
|
|
|
| |
2008-02-17 Behdad Esfahbod <behdad@gnome.org>
Bug 517083 – pango modules: wrong fallback adding code?
* pango/modules.c (map_add_engine): Fix typo.
svn path=/trunk/; revision=2569
|
|
|
|
|
|
|
|
|
| |
2008-02-17 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-layout.c: Improve docs.
svn path=/trunk/; revision=2568
|
|
|
|
|
|
|
|
|
| |
2008-02-15 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-layout.c: Improve docs.
svn path=/trunk/; revision=2567
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-02-14 Tor Lillqvist <tml@novell.com>
Bug 515484: Pango on Windows is missing non-TrueType
font support
Patch from Adrian Johnson.
* pango/pangowin32-fontmap.c (pango_win32_enum_proc): Accept also
OpenType/PS fonts. Interpret the metrics parameter as a
NEWTEXTMETRICW struct and check the ntmFlags field.
svn path=/trunk/; revision=2566
|
|
|
|
|
|
|
|
| |
2008-02-13 Sven Neumann <sven@gimp.org>
* pango/pangoft2.c: indentation.
svn path=/trunk/; revision=2565
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-02-09 Dominic Lachowicz <domlachowicz@gmail.com>
Bug 515484 – Variable is initialized twice
* pango/pangofc-fontmap.c (_pango_fc_font_map_fc_to_coverage):
Variable was initialized twice.
svn path=/trunk/; revision=2564
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-01-28 Wouter Bolsterlee <wbolster@svn.gnome.org>
* pango/pango-context.c:
* pango/pango-fontmap.c:
* pango/pango-utils.c:
* pango/pangofc-fontmap.h:
* pango/pangox.c:
* pango/reorder-items.c:
Fixed gtk-doc warnings.
svn path=/trunk/; revision=2555
|
|
|
|
| |
svn path=/trunk/; revision=2554
|
|
|
|
| |
svn path=/trunk/; revision=2553
|
|
|
|
| |
svn path=/trunk/; revision=2550
|
|
|
|
|
|
|
|
|
|
|
| |
2008-01-21 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-layout.c (pango_layout_set_height()): Mark behavior as
undefined if height is not -1 and ellipsize mode is
PANGO_ELLIPSIZE_NONE.
svn path=/trunk/; revision=2549
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-01-21 Behdad Esfahbod <behdad@gnome.org>
Bug 508002 – change pango_layout_pixel_extents() to round logical rect
to be inclusive
* pango/pango-layout.c (pango_layout_get_pixel_extents),
(pango_layout_line_get_pixel_extents): Round extents to pixels
inclusively. That is, pass both ink_rect and logical_rect as first
argument to pango_extents_to_pixels().
* pango/pango-matrix.c (pango_matrix_transform_pixel_rectangle):
Fix rounding.
* pango/pango-types.h:
* docs/tmpl/glyphs.sgml:
* pango/pango-utils.c (pango_extents_to_pixels):
Rename pango_extents_to_pixels() function arguments from @ink_rect and
@logical_rect to @inclusive and @nearest. Given that this API is a
fairly new addition and not commonly used, language bindings are
encouraged to update their argument names accordingly. Moreover, they
are encouraged to wrap this function as two different calls:
extents_to_pixels_inclusive() and extents_to_pixels_nearest(), or
similar conventions that best reflect their native language.
svn path=/trunk/; revision=2548
|
|
|
|
|
|
|
|
|
|
| |
2008-01-16 Behdad Esfahbod <behdad@gnome.org>
* pango/opentype/Makefile.am: Remove COPYING.GPL and COPYING.FTL that
are no longer there.
svn path=/trunk/; revision=2547
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-01-15 Behdad Esfahbod <behdad@gnome.org>
* pango/opentype/*:
HarfBuzz was relicensed to a more generous and simpler license.
Adapt. See pango/opentype/COPYING for the new license which is
LGPL-compatible.
svn path=/trunk/; revision=2546
|
|
|
|
|
|
|
|
|
|
| |
2008-01-15 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-layout.c (debug), (process_line),
(pango_layout_line_postprocess): Minor cleanup.
svn path=/trunk/; revision=2545
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-01-15 Behdad Esfahbod <behdad@gnome.org>
Bug 469313 – Add pango_layout_set_height()
* pango/pango-layout.c (get_x_offset),
(should_ellipsize_current_line), (add_line), (process_line),
(pango_layout_check_lines), (pango_layout_line_get_width),
(pango_layout_line_get_x_ranges), (justify_words),
(pango_layout_line_postprocess):
Implement height >= 0; There are still bugs left. Most notably,
there will be at least two lines showed no matter how small height is.
svn path=/trunk/; revision=2544
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-01-14 Behdad Esfahbod <behdad@gnome.org>
Bug 469313 – Add pango_layout_set_height()
Bug 508179 – PangoGlyphUnit confusion
* pango/pango-layout.h:
* pango/pango-layout-private.h:
* pango/pango-layout.c:
* pango/ellipsize.c (_pango_layout_line_ellipsize):
New public API:
pango_layout_set_height()
See docs for semantics. Currently only negative height values (number
of lines) is implemented.
* pango-view/viewer-render.c (make_layout), (output_body),
(parse_options):
Implement --height.
* pango/pango.def:
* docs/pango-sections.txt:
* docs/tmpl/layout.sgml:
Update.
2008-01-14 Behdad Esfahbod <behdad@gnome.org>
Bug 508179 – PangoGlyphUnit confusion
* pango/pangowin32.c:
* pango/glyphstring.c:
* pango/pango-layout.c (process_item): Remove all traces of
#PangoGlyphUnit
svn path=/trunk/; revision=2542
|
|
|
|
|
|
|
|
|
|
|
| |
2008-01-08 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-layout.c: Ignore indent if aligned center, and document
so. This assumption was present in some places and not the others.
Fixed now.
svn path=/trunk/; revision=2538
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-01-08 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-layout.c (ensure_tab_width), (process_line),
(pango_layout_get_effective_attributes),
(pango_layout_check_lines): Minor cleanup. Attributes are initialized
with start/end_index to apply to entire text now, no need to
initialize them explicitly anymore.
svn path=/trunk/; revision=2536
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-12-29 Behdad Esfahbod <behdad@gnome.org>
Bug 506284 – docs typo for pango_coverage_unref
Patch from Christian Persch
* pango/pango-coverage.c (pango_coverage_unref): Fix typo in docs.
svn path=/trunk/; revision=2532
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-12-19 Behdad Esfahbod <behdad@gnome.org>
Red Hat Bug 426178: gtkdoc-scan fails on pango
* docs/pango-sections.txt:
* pango/pango-ot-private.h:
* pango/pango-ot.h:
Make the following symbols available to engines:
PANGO_IS_OT_INFO
PANGO_IS_OT_RULESET
PANGO_OT_INFO
PANGO_OT_RULESET
PANGO_TYPE_OT_INFO
PANGO_TYPE_OT_RULESET
pango_ot_info_get_type
pango_ot_ruleset_get_type
svn path=/trunk/; revision=2528
|
|
|
|
|
|
|
|
|
|
| |
2007-12-10 Behdad Esfahbod <behdad@gnome.org>
* pango/pangocairo-fontmap.c: Improve
pango_cairo_font_map_get_default() docs.
svn path=/trunk/; revision=2521
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-12-10 Behdad Esfahbod <behdad@gnome.org>
Bug 399573 – replace strtoul in pango-markup.c with pango_scan_int()
* pango/pango-markup.c (span_parse_func): Use pango_scan_int() and
improve error message on parse failure.
svn path=/trunk/; revision=2520
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-12-10 Behdad Esfahbod <behdad@gnome.org>
Bug 478914 – Use something invalid instead of '?' when validating
input text
* pango/pango-layout.c (pango_layout_set_text): Set invalid input
bytes to -1, which gives a unichar value of -1, and eventually a
glyph value of -1, aka PANGO_GLYPH_INVALID_INPUT.
* pango/fonts.c (pango_font_get_glyph_extents),
(pango_font_get_metrics), (pango_font_get_font_map):
* pango/modules.c (build_map):
* pango/pango-context.c (get_script), (get_shaper_and_font),
(string_from_script), (itemize_state_process_run):
* pango/pango-coverage.c (pango_coverage_get):
* pango/pango-impl-utils.h:
* pango/pango-utils.c:
* pango/pangocairo-font.c (pango_cairo_font_get_scaled_font),
(_pango_cairo_font_private_get_hex_box_info),
(_pango_cairo_font_private_get_glyph_extents_missing):
* pango/pangocairo-private.h:
* pango/pangocairo-render.c (_pango_cairo_renderer_draw_frame),
(_pango_cairo_renderer_draw_box_glyph),
(_pango_cairo_renderer_draw_unknown_glyph):
* pango/pangofc-fontmap.c (pango_fc_font_map_get_patterns):
* pango/pangoft2-private.h:
* pango/pangoft2-render.c (pango_ft2_font_render_box_glyph),
(pango_ft2_font_render_glyph), (pango_ft2_renderer_draw_glyph):
* pango/pangoft2.c (pango_ft2_font_get_face),
(pango_ft2_font_get_glyph_extents):
* pango/pangox.c (pango_x_find_subfont), (pango_x_render):
* pango/pangoxft-font.c (_pango_xft_font_get_mini_font),
(get_glyph_extents_missing), (pango_xft_font_get_font):
* pango/pangoxft-private.h:
* pango/pangoxft-render.c (get_total_matrix), (draw_box),
(_pango_xft_renderer_draw_box_glyph),
(_pango_xft_renderer_draw_unknown_glyph),
(pango_xft_renderer_draw_glyphs):
* pango/shape.c (pango_shape):
Render PANGO_GLYPH_INVALID_INPUT to a single-width box with a cross
inside. Also cleanup spewed warnings and warn at the source, where
we fail to find a shaper, instead of at every location that we see
a NULL font.
* pango/pango-font.h:
* docs/pango-sections.txt:
* docs/tmpl/glyphs.sgml:
New public macro:
PANGO_GLYPH_INVALID_INPUT
svn path=/trunk/; revision=2519
|
|
|
|
| |
svn path=/trunk/; revision=2518
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-12-04 Behdad Esfahbod <behdad@gnome.org>
Bug 501575 – Compile errors
Patch from Jens Granseuer
* pango/opentype/harfbuzz-stream.c (_hb_font_goto_table):
* pango/pango-utils.c (handle_alias_line):
Fix C99ism.
svn path=/trunk/; revision=2514
|
|
|
|
| |
svn path=/trunk/; revision=2508
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-11-29 Behdad Esfahbod <behdad@gnome.org>
Bug 485536 – underline_position can be zero
* pango/pango-utils.c (pango_cairo_quantize_line_geometry):
Document that returned position may be zero.
* pango/pangocairo-win32font.c
(pango_cairo_win32_font_create_metrics_for_context):
* pango/pangofc-font.c (get_face_metrics):
Handle case of underline_position==0 after rounding.
svn path=/trunk/; revision=2506
|
|
|
|
|
|
|
|
|
|
|
| |
2007-11-29 Behdad Esfahbod <behdad@gnome.org>
Bug 500549 – pangocairo.h should include pango.h and cairo.h
* pango/pangocairo.h: #include <pango/pango.h>
svn path=/trunk/; revision=2505
|
|
|
|
|
|
|
|
|
| |
2007-11-23 Behdad Esfahbod <behdad@gnome.org>
* pango/opentype/harfbuzz-impl.c: Remove unused macro.
svn path=/trunk/; revision=2503
|
|
|
|
| |
svn path=/trunk/; revision=2502
|
|
|
|
|
|
|
|
|
|
| |
2007-11-16 Tor Lillqvist <tml@novell.com>
* pango/pango-utils.c (handle_alias_line): Factor out the common
code from read_builtin_aliases() and read_alias_file(). (#492517)
svn path=/trunk/; revision=2498
|
|
|
|
|
|
|
|
|
| |
2007-11-09 Behdad Esfahbod <behdad@gnome.org>
* pango/Makefile.am: Include ATSUI included modules.
svn path=/trunk/; revision=2497
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-11-08 Behdad Esfahbod <behdad@gnome.org>
Bug 495091 – pango-utils.c:variable is declared at middle of block
* pango/pango-utils.c (read_builtin_aliases): Move variable
declaraction before code.
svn path=/trunk/; revision=2496
|
|
|
|
| |
svn path=/trunk/; revision=2495
|
|
|
|
|
|
|
|
|
| |
2007-11-07 Behdad Esfahbod <behdad@gnome.org>
* pango/opentype/*: And some more.
svn path=/trunk/; revision=2494
|
|
|
|
|
|
|
|
|
| |
2007-11-07 Behdad Esfahbod <behdad@gnome.org>
* pango/opentype/*: Some more cleanup and merging.
svn path=/trunk/; revision=2493
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-11-02 Tor Lillqvist <tml@novell.com>
* pango/pango-utils.c (read_builtin_aliases, pango_load_aliases):
On Windows store the default aliases file in a string
array. (#492517)
Compared to the pango.aliases file as distributed with my most
recent Windows builds there are some changes: Add the DejaVu fonts
as the first ones listed for the generic sans, serif and mono font
names. Use Tahoma instead of Arial for sans, and Georgia instead
of Times New Roman for serif (to be used if the DejaVu fonts
aren't present). Add Arial Unicode MS (a font with quite large
coverage that comes with MS Office and thus is often
available). Add Sylfaen (the Armenian and Georgian font bundled
with Windows).
When using the MS-Windows theme the font used by GTK+ will the
system UI one. Both fonts typically used as system fonts, Tahoma
(on XP) and Segoe UI (on Vista), are aliased here.
* pango/pango-utils.c (read_alias_file): Accept also a quoted
string for the left-hand side of an aliases file line. This is to
enable aliasing fonts with spaces in their name, like "Segoe UI"
which is the default system font on Vista. (#492504) (With the
above built-in default aliases lists, no actual pango.aliases file
is longer required on Windows for non-Latin script support,
though.)
svn path=/trunk/; revision=2489
|
|
|
|
| |
svn path=/trunk/; revision=2486
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-10-28 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-script-lang-table.h:
* tools/gen-script-for-lang-new.c:
Sort scripts based on frequency.
* tools/Makefile.am: Don't build anything by default.
svn path=/trunk/; revision=2485
|
|
|
|
| |
svn path=/trunk/; revision=2481
|
|
|
|
|
|
|
|
|
| |
2007-10-26 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-script-lang-table.h: Update for fontconfig-2.4.91.
svn path=/trunk/; revision=2480
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-10-25 Behdad Esfahbod <behdad@gnome.org>
* pango/pangofc-fontmap.c (pango_fc_font_map_get_patterns):
Call FcFontSetDestroy() instead of FcFontSetSortDestroy().
These days they are the same, but previously the latter was
not freeing the actual patterns. But we don't need the
sort patterns, so this retroactively fixes a leak in older
versions!
svn path=/trunk/; revision=2479
|