summaryrefslogtreecommitdiff
path: root/docs/pango_markup.sgml
Commit message (Collapse)AuthorAgeFilesLines
* Allow rgba colors in markupMatthias Clasen2015-08-141-4/+8
| | | | | | | For foreground and background colors, allow #rrggbbaa to specify a color with alpha. This will be returned as two attributes, for color and alpha. underline_color and strikethrough_color are still limited to #rrggbb, with no alpha component.
* Support alpha in markupwip/matthiasc/alphaMatthias Clasen2015-08-111-1/+19
| | | | | | Support alpha and background_alpha attributes on span elements. The value can either be a plain integer between 1 and 65536 or a percentage like 50%.
* Document font_features support in markupMatthias Clasen2015-07-301-0/+8
|
* markup: Allow incrementally parsing pango markupJasper St. Pierre2012-12-141-2/+3
| | | | | | | This is intended for applications that need to parse pango markup from some sort of GIO stream. https://bugzilla.gnome.org/show_bug.cgi?id=679299
* Bug 653347 - rise units documented incorrectlyBehdad Esfahbod2012-08-251-1/+1
|
* Mention GMarkup and character entitiesMatthias Clasen2011-09-051-3/+9
| | | | As requested in bug 403499.
* [doc] Tag markup attributes with version they were introducedPeter Clifton2009-04-071-8/+8
|
* Bug 563898 – Generated output is not deterministicBehdad Esfahbod2008-12-141-1/+1
| | | | | | | | | | | | 2008-12-14 Behdad Esfahbod <behdad@gnome.org> Bug 563898 – Generated output is not deterministic * docs/pango-querymodules.xml: * docs/pango_markup.sgml: Add section ids, such that generated HTML is deterministic. svn path=/trunk/; revision=2757
* Bug 490669 – add some <span> attribute aliasesBehdad Esfahbod2008-04-211-18/+31
| | | | | | | | | | | | | 2008-04-21 Behdad Esfahbod <behdad@gnome.org> Bug 490669 – add some <span> attribute aliases * docs/pango_markup.sgml: * pango/pango-markup.c (span_parse_func): Add fgcolor, bgcolor, font, font_size, font_weight, font_variant, ... svn path=/trunk/; revision=2603
* Adds a link to pango_font_description_from_string() so that the font_descMurray Cumming2007-10-271-5/+6
| | | | | | | | | | 2007-10-26 Murray Cumming <murrayc@murrayc.com> * docs/pango_markup.sgml: Adds a link to pango_font_description_from_string() so that the font_desc attribute is not so mysterious. Bug #490661. svn path=/trunk/; revision=2483
* Add 'gravity', 'gravity_hint', and 'letter_spacing' span attributes.Behdad Esfahbod2007-06-111-0/+18
| | | | | | | | | | 2007-06-11 Behdad Esfahbod <behdad@gnome.org> * docs/pango_markup.sgml: Add 'gravity', 'gravity_hint', and 'letter_spacing' span attributes. svn path=/trunk/; revision=2338
* Bug 438801 – underline should add "error" type.Behdad Esfahbod2007-06-111-1/+1
| | | | | | | | | | | 2007-06-11 Behdad Esfahbod <behdad@gnome.org> Bug 438801 – underline should add "error" type. * docs/pango_markup.sgml: Add "error" underline type to docs. svn path=/trunk/; revision=2337
* Various documentation improvements.Behdad Esfahbod2005-11-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 2005-11-16 Behdad Esfahbod <behdad@gnome.org> * docs/pango_markup.sgml docs/tmpl/coverage-maps.sgml docs/tmpl/engines.sgml docs/tmpl/fonts.sgml docs/tmpl/freetype-fonts.sgml docs/tmpl/glyphs.sgml docs/tmpl/layout.sgml docs/tmpl/main.sgml docs/tmpl/modules.sgml docs/tmpl/opentype.sgml docs/tmpl/pango-engine-lang.sgml docs/tmpl/pango-engine-shape.sgml docs/tmpl/pango-renderer.sgml docs/tmpl/pangocairo.sgml docs/tmpl/pangofc-decoder.sgml docs/tmpl/pangofc-font.sgml docs/tmpl/pangofc-fontmap.sgml docs/tmpl/scripts.sgml docs/tmpl/tab-stops.sgml docs/tmpl/text-attributes.sgml docs/tmpl/win32-fonts.sgml docs/tmpl/x-fonts.sgml docs/tmpl/xft-fonts.sgml pango/break.c pango/ellipsize.c pango/fonts.c pango/pango-attributes.c pango/pango-color.c pango/pango-context.c pango/pango-coverage.c pango/pango-fontmap.c pango/pango-glyph-item.c pango/pango-layout.c pango/pango-markup.c pango/pango-tabs.c pango/pango-types.h pango/pango-utils.c pango/pangoft2-render.c pango/pangox.c pango/pangoxft-render.c: Various documentation improvements.
* Fix a stray newline (#308887, Ryan Lortie)Owen Taylor2005-06-241-2/+1
| | | | | | | 2005-06-24 Owen Taylor <otaylor@redhat.com> * docs/pango_markup.sgml (linkend): Fix a stray newline (#308887, Ryan Lortie)
* Add underline_color and strikethrough_color attribute types. (#147616,Owen Taylor2004-11-231-1/+16
| | | | | | | | | | | | | | | | | | | | | | | Tue Nov 23 10:23:43 2004 Owen Taylor <otaylor@redhat.com> * pango/pango-attributes.[ch]: Add underline_color and strikethrough_color attribute types. (#147616, Morten Welinder) * pango/pango-markup.c docs/pango_markup.sgml: Add corresponding 'underline_color' and 'strikethrough_color' attributes for <span>. * pango/pango-renderer.c (pango_renderer_default_prepare_run): Implement underline and strikethrough colors. * pango/pango-renderer.c: Fix some bigs with updating underlines/strikethrough state. * pango/pango-renderer.c (get_total_matrix): Fix a const warning. * docs/pango-sections.txt: Update
* use x-large instead of 100 in the markup example. (#142355, Doug Quale).Owen Taylor2004-06-211-2/+7
| | | | | | | | | Mon Jun 21 14:42:02 2004 Owen Taylor <otaylor@redhat.com> * docs/pango_markup.sgml: use x-large instead of 100 in the markup example. (#142355, Doug Quale). Fix the 'size' documentation to say 1024ths rather than 1000ths. Document using font_desc='12.5' instead.
* New attribute to turn font fallback on or off. (#105553)Noah Levitt2004-02-291-0/+10
| | | | | | | | | | | | 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)
* Cosmetic changes to short descriptions.Matthias Clasen2002-12-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | * docs/tmpl/text-attributes.sgml: * docs/tmpl/glyphs.sgml: * docs/tmpl/engines.sgml: * docs/tmpl/main.sgml: * docs/tmpl/pango-indic.sgml: * docs/tmpl/coverage-maps.sgml: * docs/tmpl/fonts.sgml: * docs/pango_markup.sgml: Cosmetic changes to short descriptions. * docs/tmpl/tab-stops.sgml: * docs/tmpl/modules.sgml: * docs/tmpl/opentype.sgml: * docs/tmpl/xft-fonts.sgml: * docs/tmpl/freetype-fonts.sgml: * docs/tmpl/win32-fonts.sgml: Add short descriptions. * docs/pango-docs.sgml: Move "OpenType Font Handling" to "Low Level Functionality". * docs/pango-sections.txt: Combine the "X Fonts" and "X Rendering" sections.
* fix cross-references in hereHavoc Pennington2002-01-121-11/+12
| | | | | | 2002-01-11 Havoc Pennington <hp@pobox.com> * docs/pango_markup.sgml: fix cross-references in here
* Add a new attribute for scaling a font; also required addingHavoc Pennington2000-11-011-0/+202
2000-11-01 Havoc Pennington <hp@pobox.com> * pango/pango-attributes.c (pango_attr_scale_new): Add a new attribute for scaling a font; also required adding PangoAttrFloat. (pango_attr_iterator_get_font): Add PANGO_ATTR_SCALE handling. * pango/pango-utils.c (pango_parse_stretch): Take a plain string not a GString (pango_parse_weight): ditto (pango_parse_variant): ditto (pango_parse_style): ditto * pango/pangox-fontmap.c (pango_x_font_map_read_alias_file): pass GString::str instead of the GString itself to pango_parse_* * pango/pangoft2-fontmap.c (pango_ft2_insert_face): ditto * pango/pangowin32-fontmap.c (pango_win32_font_map_read_alias_file): ditto * pango/pango-layout.c (get_tab_pos): adapt to new pango_itemize() signature (pango_layout_check_lines): Raise attr list copy/creation out of the loop over paragraphs. Adapt to pango_itemize() changes. * pango/pango-context.c (pango_itemize): pass in a starting index and a cached iterator (add_engines): Easy optimization, pass in n_chars instead of recomputing it. Also, pass on the start index and cached iterator. * docs/pango-sections.txt: Add new stuff docs/pango_markup.sgml: Docs on markup format * pango/pango-layout.c (pango_layout_get_attributes): New function to retrieve the AttrList from a layout (pango_layout_set_markup): Set layout from markup (pango_layout_set_markup_with_accel): Set layout from markup including accelerator parsing. * pango/pango-attributes.h (pango_parse_markup): New function to convert a tag string to an attribute list * pango/pango-markup.c (pango_parse_markup): implement * docs/Makefile.am, docs/pango-docs.sgml, docs/pango-sections.txt, docs/pango_markup.sgml: oooooh, documentation for the above patch! * docs/tmpl/pango-unused.sgml: Remove from CVS; just causes problems, and was full of checked-in conflict markers.