summaryrefslogtreecommitdiff
path: root/examples/renderdemo.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix reversed auto-hint option.Owen Taylor2004-09-131-1/+1
| | | | | | | Mon Aug 16 14:17:56 2004 Owen Taylor <otaylor@redhat.com> * examples/renderdemo.c (fc_substitute_func): Fix reversed auto-hint option.
* Sync with change to OTL_GlyphItemRec.Owen Taylor2004-08-161-0/+41
| | | | | | | | | Mon Aug 16 13:42:38 2004 Owen Taylor <otaylor@redhat.com> * pango/pango-ot.h (struct _PangoOTGlyph): Sync with change to OTL_GlyphItemRec. (https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=129982, Jatin Nansi)
* Fix C99ism. I am clearly the last man stuck in the dark age of C.Morten Welinder2004-07-241-1/+2
| | | | | | | 2004-07-23 Morten Welinder <terra@gnome.org> * examples/renderdemo.c (parse_ellipsis): Fix C99ism. I am clearly the last man stuck in the dark age of C.
* Add PangoEllipsizeMode, pango_layout_set_ellipsize(), implement. (#59071)Owen Taylor2004-07-141-1/+23
| | | | | | | | | | | | | | | | | | Wed Jul 14 17:47:38 2004 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.[ch] pango/ellipsize.c pango/Makefile.am: Add PangoEllipsizeMode, pango_layout_set_ellipsize(), implement. (#59071) * pango/pango-layout-private.h pango/pango-layout.c: Move PangoLayout structure into a separate header file. * pango/pango-glyph-item.[ch]: Add pango_glyph_item_free(). * pango/pango-glyph-item-private.h pango/pango-glyph-item.c: Internally export the PangoGlyphItemIter functionality. * examples/renderdemo.[ch]: Add --ellipsize option.
* Split most of the guts of pangoft2topgm.c into separate source files toOwen Taylor2004-07-101-203/+73
| | | | | | | | | | Sat Jul 10 18:06:21 2004 Owen Taylor <otaylor@redhat.com> * examples/renderdemo.[ch] examples/Makefile.am examples/pangoft2topgm.c: Split most of the guts of pangoft2topgm.c into separate source files to allow creation of new rendering demos for different backends.
* Add PangoMatrix type for affine transforms.Owen Taylor2004-05-281-28/+94
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* Patch from Dov Grobgeld to add auto-direction to PangoLayout (more ofOwen Taylor2004-03-011-0/+5
| | | | | | | | | | | | | | | | | | | | | | | 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.
* Add --indent=n option.Noah Levitt2003-11-251-0/+6
| | | | | | | | | 2003-11-25 Noah Levitt <nlevitt@columbia.edu> * examples/pangoft2topgm.c: Add --indent=n option. * pango/pango-layout.[ch]: Indent the first line of every paragraph, not just the first line in the layout. (#66626)
* Borrow argument parsing code from GDK.Owen Taylor2003-09-151-112/+186
| | | | | | | | | | | | | Mon Sep 15 15:48:25 2003 Owen Taylor <otaylor@redhat.com> * examples/Makefile.am examples/argcontext.c examples/argcontext.h: Borrow argument parsing code from GDK. * examples/pangoft2topgm.c: Use argcontext.[ch]. Add options --header to display options in a header in the image, --text to pass the text on the command line, --width to set a wrap width. Add autoconversion to non-PGM output formats via 'convert' for --output="foo.png" etc.
* Replace --family/--scale options with a single --fontOwen Taylor2003-08-081-23/+28
| | | | | | | Fri Aug 8 11:45:15 2003 Owen Taylor <otaylor@redhat.com> * examples/pangoft2topgm.c: Replace --family/--scale options with a single --font
* Add option to run 'display' on the output as well as/instead of specifyingOwen Taylor2003-08-081-13/+66
| | | | | | | | Fri Aug 8 11:33:24 2003 Owen Taylor <otaylor@redhat.com> * examples/pangoft2topgm.c: Add option to run 'display' on the output as well as/instead of specifying output file name.
* Deprecate pango_ft2_get_context(), pango_ft2_font_map_for_display(),Owen Taylor2003-08-081-27/+71
| | | | | | | | | | | | | | | | 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.
* Get rid of a bunch of leftovers from the conversion from viewer; addOwen Taylor2003-08-081-161/+154
| | | | | | | | | Fri Aug 8 10:03:03 2003 Owen Taylor <otaylor@redhat.com> * examples/pangoft2topgm.c: Get rid of a bunch of leftovers from the conversion from viewer; add --waterfall to create a waterfall output at different sizes, and --margin to set the margin.
* Add code to check for "./pangorc" so that it works uninstalled.Owen Taylor2003-05-271-0/+3
| | | | | | | Tue May 27 12:19:53 2003 Owen Taylor <otaylor@redhat.com> * examples/pangoft2topgm.c (main): Add code to check for "./pangorc" so that it works uninstalled.
* Accept also outfile name on command line, fopen it separately then. NeededTor Lillqvist2002-02-071-6/+15
| | | | | | | | | | | | | 2002-02-07 Tor Lillqvist <tml@iki.fi> * examples/pangoft2topgm.c (main): Accept also outfile name on command line, fopen it separately then. Needed on Windows where stdout is in text mode. * modules/arabic/Makefile.am * modules/hebrew/Makefile.am: Use -no-undefined on Windows, otherwise libtool won't produce DLLs, and there will be no such to install
* Remove this file; pangofttopgm is the test case for the FT2 backend now.Owen Taylor2002-01-251-7/+6
| | | | | | | | | | | | | Wed Jan 23 16:49:24 2002 Owen Taylor <otaylor@redhat.com> * examples/viewer-ft2.c: Remove this file; pangofttopgm is the test case for the FT2 backend now. * examples/Makefile.am: Don't dist moc_viewer-qt.cc. * examples/Makefile.am: Build pangofttopgm if we have FT2. * examples/pangoft2topgm.c (main): Warning fixes.
* An example of using the ft2 moduleDov Grobgeld2002-01-171-0/+273