| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Mention new attribute values in markup docs.
|
| |
|
|
|
|
|
|
| |
What the docs were saying is no longer strictly true,
now that we are using font metrics. Update them, and
add an illustration.
|
|
|
|
|
| |
Since the text is talking about zero-width rectangles,
show one of those, instead of a sloped caret.
|
|
|
|
| |
Show cursor positions.
|
|
|
|
|
|
|
| |
Add attributes that let us override word and
sentence boundaries (and, indirectly, line breaks).
Tests included.
|
| |
|
|
|
|
| |
We have added new APIs breaking and shaping, link to them.
|
|
|
|
| |
Show font metrics.
|
|
|
|
|
|
| |
Add a PangoTextTransform enum, a PangoAttribute
to set it on runs of text, and support for parsing
it out of markup.
|
|
|
|
|
|
|
| |
Show how weak and strong cursors look in
practice.
Fixes: #77
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add attributes for line-height, in a relative and
absolute variant.
This will be used to grow the logical extents of
runs in a way that is compatible with CSS semantics.
In markup, we support a new line_height attribute
that will be interpreted as absolute if it is an
integer > 1024, and as a relative factor otherwise.
|
| |
|
|
|
|
| |
Add a visual example of bidi reordering.
|
| |
|
|
|
|
| |
Move the vertical text example up, in the bidi docs.
|
|
|
|
| |
We have two lists to keep in sync :(
|
|
|
|
| |
Add some visualizations of gravity.
|
|
|
|
|
| |
Add some visualization of alignment and justification
to the PangoLayout docs.
|
|
|
|
|
|
|
| |
Accept values like 200%, in addition to other
ways of specifying sizes in markup.
Fixes: #23
|
| |
|
|
|
|
|
|
|
|
| |
Accept values like 12.5pt, in addition to
the other ways of specifying font size in
markup.
Fixes: #67
|
|
|
|
|
|
|
| |
Change the source locations in the gi-docgen files
to point to main instead of master.
This is part of #579
|
|
|
|
|
| |
Now that gi-docgen warns about link syntax errors,
we can find and fix them.
|
|
|
|
|
|
| |
Some of the more recent additions did never make
it into the docs, such as overline, insert_hyphens
and allow_breaks.
|
|
|
|
| |
A little color doesn't hurt.
|
|
|
|
| |
We are building it, but never installing it on the system.
|
|
|
|
|
|
|
| |
Add white-on-transparent and black-on-transparent
variants of this png. For now, make white-on-transparent
the one we use. If somebody wants to make this work in
dark mode, we need to tweak the templates.
|
| |
|
|
|
|
| |
All these were pointed out by gi-docgen warnings.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Stop using gtk-doc, and switch to gi-docgen.
The gi-docgen tool generates API references through the introspection
data, which has various benefits:
- it does not parse C code
- it does not generate and run C code to introspect types at build time
- it does not present a different API from the one we're exporting
Additionally, gi-docgen:
- does not generate DocBook XML in order to generate HTML
- does not go through xsltproc
- parses proper Markdown
Which makes it markedly faster than gtk-doc has ever been.
|
|
|
|
|
| |
Add the toml files that will be used to generate docs,
one for each gir file.
|
|
|
|
| |
This will be used in the future.
|
| |
|
|
|
|
|
| |
Doing this makes g-ir-scanner pick up the long description,
which is more useful than the struct docs.
|
|
|
|
|
| |
g-ir-scanner picks the long description over the struct
docs, when the id matches.
|
|
|
|
| |
Properties are better with getters.
|
|\
| |
| |
| |
| |
| |
| | |
Add pango_fc_font_map_set_default_substitute
Closes #83
See merge request GNOME/pango!191
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
added:
pango_fc_font_map_set_default_substitute
pango_fc_font_map_default_substitute_changed
deprecated:
pango_ft2_font_map_set_default_substitute
pango_ft2_font_map_changed
pango_xft_font_map_set_default_substitute
pango_xft_font_map_changed
Now PangoCairoFcFontMap will call what is passed to
pango_fc_font_map_set_default_substitute when it is time.
The deprecated functions make calls to the parent (FC) class now.
The user-supplied callbacks are executed in the exact same places as
before.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
This really belongs into PangoFont, but we're out of
room in the PangoFontClass struct for vfuncs, so this
will have to remain backend-specific functionality
for now.
|