| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
cairo has X11 support
|
| |
|
|
|
|
|
|
|
| |
Added --annotate.
Also fixes:
Bug 502801 – per-backend pango-view options
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Works now.
|
| |
|
| |
|
|
|
|
| |
Remove the obsolete file viewer-win32.c
|
|
|
|
|
|
|
|
|
|
| |
2009-01-29 Behdad Esfahbod <behdad@gnome.org>
* pango-view/viewer-render.c (make_layout), (get_options_string):
Remove default font family and size. This means default is "serif 12"
now, instead of previous "sans 18".
svn path=/trunk/; revision=2820
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-01-02 Behdad Esfahbod <behdad@gnome.org>
* pango-view/viewer-main.c (main):
* pango-view/viewer-pangocairo.c (pangocairo_view_render):
* pango-view/viewer-pangoft2.c (pangoft2_view_render):
* pango-view/viewer-pangox.c (pangox_view_render):
* pango-view/viewer-pangoxft.c (pangoxft_view_render):
* pango-view/viewer.h:
Make sure we measure layout with the same surface type as the
final target. Also reduces fonts loaded by the pangocairo backend.
svn path=/trunk/; revision=2777
|
|
|
|
|
|
|
|
|
| |
2008-12-26 Behdad Esfahbod <behdad@gnome.org>
* pango-view/viewer-pangocairo.c (pangocairo_view_destroy):
Call cairo_debug_reset_static_data().
svn path=/trunk/; revision=2772
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-12-25 Behdad Esfahbod <behdad@gnome.org>
* pango-view/viewer-main.c (main):
* pango-view/viewer-pangocairo.c (pangocairo_view_create),
(transform_callback), (pangocairo_view_render),
(pangocairo_view_write):
* pango-view/viewer-pangoft2.c (substitute_func),
(pangoft2_view_create), (pangoft2_view_create_surface),
(pangoft2_view_destroy_surface), (render_callback),
(pangoft2_view_render), (pangoft2_view_write):
* pango-view/viewer-pangox.c (render_callback):
* pango-view/viewer-pangoxft.c (default_substitute),
(render_callback):
* pango-view/viewer-render.c (parse_enum), (parse_align),
(parse_ellipsis), (parse_gravity), (parse_gravity_hint),
(parse_hinting), (parse_wrap), (parse_backend), (show_version):
* pango-view/viewer-x.c (x_view_init):
Fix all warnings in pango-view/
svn path=/trunk/; revision=2769
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-12-25 Behdad Esfahbod <behdad@gnome.org>
Bug 469049 – Fix all compiler warnings
* pango-view/viewer-pangocairo.c (render_callback):
* pango/fonts.c (append_field), (pango_font_description_to_string):
* pango/opentype/harfbuzz-dump.c:
* pango/pango-bidi-type.c (pango_log2vis_get_embedding_levels):
* pango/pango-coverage.c (pango_coverage_set):
* pango/pango-markup.c (span_parse_func):
* pango/pango-renderer.c
(pango_renderer_default_draw_error_underline):
* pango/pango-utils.c (pango_scan_string):
* pango/pangocairo-render.c (pango_cairo_renderer_draw_trapezoid),
(draw_error_underline), (pango_cairo_renderer_class_init):
Fix all the remaining warnings.
svn path=/trunk/; revision=2767
|
|
|
|
|
|
|
|
|
|
| |
2008-08-19 Behdad Esfahbod <behdad@gnome.org>
* pango-view/GLASS.txt:
* pango/pango-ot-tag.c:
Various corrections.
svn path=/trunk/; revision=2694
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
2008-04-28 Behdad Esfahbod <behdad@gnome.org>
* pango-view/viewer-main.c (main): Wait for convert(1) to finish.
Patch by Jamie Guinan.
svn path=/trunk/; revision=2620
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
Bug 508007 – Add option for single-paragraph mode to pango-view
* pango-view/viewer-render.c (make_layout), (parse_options): Add
--single-par option to pango-view.
svn path=/trunk/; revision=2537
|
|
|
|
|
|
|
|
|
|
| |
2007-12-05 Behdad Esfahbod <behdad@gnome.org>
* pango-view/viewer-pangocairo.c (render_callback): Fix assertion
in pango_gravity_get_rotation().
svn path=/trunk/; revision=2515
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-09-07 Behdad Esfahbod <behdad@gnome.org>
Bug 474708 – pangocairo leaks memory
* pango-view/viewer-pangocairo.c (pangocairo_view_create):
Use pango_cairo_font_map_new() instead of
pango_cairo_font_map_get_default(), so the font map is freed at the
end so we can use valgrind to detect leaks without noise.
svn path=/trunk/; revision=2425
|
|
|
|
| |
svn path=/trunk/; revision=2419
|
|
|
|
|
|
|
|
|
|
|
| |
2007-05-28 Behdad Esfahbod <behdad@gnome.org>
* pango-view/test-mixed.markup:
* pango-view/test-mixed.txt:
Fix Japanese text. Patch from Ben Konrath
svn path=/trunk/; revision=2322
|
|
|
|
|
|
|
|
|
|
|
| |
2007-05-22 Behdad Esfahbod <behdad@gnome.org>
* pango-view/Makefile.am:
* pango-view/test-nko.txt:
New test text for N'Ko.
svn path=/trunk/; revision=2316
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-05-16 Behdad Esfahbod <behdad@gnome.org>
* pango-view/Makefile.am:
* pango-view/test-opentype-language.markup:
Add a test file showing off OpenType language-system support
used with DejaVu Sans.
svn path=/trunk/; revision=2312
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-05-15 Behdad Esfahbod <behdad@gnome.org>
* pango-view/Makefile.am: Add various test txt files recently
added.
* pango-view/test-mixed.markup: A language-tagged version of
test-mixed.txt.
svn path=/trunk/; revision=2299
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-05-14 Behdad Esfahbod <behdad@gnome.org>
Part of Bug 414264 – Pango vertical writing support is different with
real CJK usage.
* pango-view/test-mixed.txt: Add a line of Japanese text that
has brackets that should be rotated in vertical text.
svn path=/trunk/; revision=2291
|
|
|
|
|
|
|
|
|
|
| |
2007-05-13 Behdad Esfahbod <behdad@gnome.org>
* pango-view/viewer-render.c (do_output), (parse_options):
Add --language.
svn path=/trunk/; revision=2283
|
|
|
|
|
|
|
|
|
|
| |
2007-05-03 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-context.c (pango_itemize): Improve docs about freeing
returned items.
svn path=/trunk/; revision=2259
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-05-03 Behdad Esfahbod <behdad@gnome.org>
* pango-view/test-long-paragraph.txt: New test text that contains a
Persian monologue by YarAli PourMoghaddam which is a single paragraph
of more than 10,000 chars and 2,400 words. Used for testing the
effect of previous change.
svn path=/trunk/; revision=2258
|
|
|
|
|
|
|
|
|
|
| |
2007-05-03 Behdad Esfahbod <behdad@gnome.org>
* pango-view/viewer-render.c (output_body), (do_output): Save
one layout rendering per view. Down to two from three now.
svn path=/trunk/; revision=2256
|
|
|
|
|
|
|
|
|
|
| |
2007-05-02 Behdad Esfahbod <behdad@gnome.org>
* pango-view/test-justify.txt: New test text with long Latin and
Arabic lines, suitable for --justify testing.
svn path=/trunk/; revision=2255
|
|
|
|
|
|
|
|
|
|
| |
2007-05-02 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* pango-view/viewer-render.c (make_layout), (parse_options):
Add --justify.
svn path=/trunk/; revision=2249
|
|
|
|
|
|
|
|
|
|
| |
2007-04-28 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* pango-view/viewer-render.c (make_layout), (parse_alignment),
(parse_options): Add option for testing text alignment.
svn path=/trunk/; revision=2241
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-04-30 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-types.h: Move PANGO_UNITS_ROUND here...
* pango/pangofc-private.h: ...from here.
* pango/pango-gravity.c: Document that pango_gravity_to_rotation()
returns angle in radians but pango_matrix_rotate() takes degrees.
* pango/pango-layout.c (pango_layout_run_get_extents):
* pango/pango-renderer.c (pango_renderer_draw_layout_line):
Retain metrics hinting when centering baseline (used for Latin, etc
in vertical mode).
* pango/pangocairo-fcfont.c (pango_cairo_fc_font_get_metrics),
(pango_cairo_fc_font_glyph_extents_cache_init): Respect metrics
hinting setting when moving glyphs around for vertical writing.
* pango/pangocairo-fcfont.c (_pango_cairo_fc_font_new): Apply
the gravity rotation before the pattern's matrix, such that
vertical text gets correct italic direction.
* pango/pangocairo-font.c (_pango_cairo_font_get_hex_box_info):
Make hexbox font inherit most properties from the current font.
That is, bold hexbox digits for a bold font, etc.
svn path=/trunk/; revision=2238
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-01-21 Behdad Esfahbod <behdad@gnome.org>
Bug 398238 – pangorc file missing from tests directory
* pango-view/Makefile.am:
* tests/Makefile.am:
Don't use $<. Doesn't work with Sun's make.
svn path=/trunk/; revision=2176
|
|
|
|
|
|
|
|
|
|
| |
2007-01-16 Behdad Esfahbod <behdad@gnome.org>
* pango-view/viewer-render.c (make_layout): Fix typo when rounding
to points.
svn path=/trunk/; revision=2169
|
|
|
|
|
|
|
|
|
| |
2007-01-16 Behdad Esfahbod <behdad@gnome.org>
*.c, *.h: Removed spaces followed b tabs.
svn path=/trunk/; revision=2166
|
|
|
|
|
|
|
|
|
| |
2007-01-16 Behdad Esfahbod <behdad@gnome.org>
*.c, *.h: Replace preceding sequences of 8 spaces with tabs.
svn path=/trunk/; revision=2165
|
|
|
|
|
|
|
|
|
| |
2007-01-16 Behdad Esfahbod <behdad@gnome.org>
*.c, *.h: Drop trailing whitespace.
svn path=/trunk/; revision=2163
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-01-16 Behdad Esfahbod <behdad@gnome.org>
* pango-view/Makefile.am:
* pango-view/renderdemo.c:
* pango-view/renderdemo.h:
* pango-view/viewer-main.c:
* pango-view/viewer-pangocairo.c:
* pango-view/viewer-pangoft2.c:
* pango-view/viewer-pangox.c:
* pango-view/viewer-pangoxft.c:
* pango-view/viewer-render.c:
* pango-view/viewer-render.h:
* pango-view/viewer-x.c:
Rename renderdemo.[ch] to viewer-render.[ch].
svn path=/trunk/; revision=2153
|
|
2007-01-16 Behdad Esfahbod <behdad@gnome.org>
* examples/pango-view.c:
* examples/pangocairo-view.c:
* examples/pangoft2-view.c:
* examples/pangox-view.c:
* examples/pangoxft-view.c:
* examples/renderdemo.c:
* examples/renderdemo.h:
* examples/test-arabic.txt:
* examples/test-chinese.txt:
* examples/test-devanagari.txt:
* examples/test-gurmukhi.txt:
* examples/test-hebrew.txt:
* examples/test-ipa.txt:
* examples/test-lao.txt:
* examples/test-latin.txt:
* examples/test-mixed.txt:
* examples/test-syriac.txt:
* examples/test-tamil.txt:
* examples/test-thai.txt:
* examples/test-tibetan.txt:
* examples/viewer-cairo.c:
* examples/viewer-cairo.h:
* examples/viewer-main.c:
* examples/viewer-pangocairo.c:
* examples/viewer-pangoft2.c:
* examples/viewer-pangox.c:
* examples/viewer-pangoxft.c:
* examples/viewer-win32.c:
* examples/viewer-x.c:
* examples/viewer-x.h:
* examples/viewer.h:
Move into pango-view/
* Makefile.am:
* configure.in:
* examples/Makefile.am:
* pango-view/Makefile.am:
Update.
svn path=/trunk/; revision=2152
|