Age | Commit message (Collapse) | Author | Files | Lines |
|
In the cairo 1.8.0 release the documentation would get generated with
the second and third version components transposed, (so it would say
1.0.8). Fix the obviously mistaken transposition.
|
|
Add links for the solid pattern constructors to the language bindings
guidelines in line with the other pattern types.
|
|
|
|
The font data and rendering is adapted from Keith Packard's Twin
window system. The hinting stuff is not ported yet, but hey, it renders!
The implementation uses user fonts, and the user font backend is modified
to use this font face (which we call "twin" font face internally) when
a toy font is needed.
The font face layer is then modified to use this font if:
- The toy font face "cairo" is asked for, or
- No native font backend is available, or
- The preferred native font backend fails to return a font with
STATUS_UNSUPPORTED. No font backend does this right now but
the idea is to change FreeType to return it if no fonts found
on the system.
We also allow building with no font backends now!
The new doc/tutorial/src/twin.c file tests the twin face at various
sizes.
|
|
The release notes for 1.7.6 say that we had dropped this
function, but apparently we had only planned to do that
and didn't actually get around to it until now.
Thanks to the RELEASING insctructions which gave a diff
command that pointed out this problem.
|
|
The .config naming was giving people the impression that they can modify it.
That's not the case.
|
|
Carl removed the API but not the listing in the docs.
The docs tests are passing again now.
|
|
We used to do a full doc build to just to run the coverage test. That's
way too slow to expect people to run regularly. Instead now we just do the
source code scanning part of the doc build system that is just enough to
know if all symbols are documented.
A full doc build can be done as always by invoking "make doc", and indeed
will be called as part of "make dist" or "make distcheck".
|
|
Copy/paste error meant we were not checking cairo-undeclared.txt there.
Indeed the test was passing even though Carl forgot to remove lcd-fitlering
API from docs. The test fails now.
|
|
During the cairo summit it was decided that this API is to freetype-
specific to be in the general cairo interface for now. This will
likely come back again soon as a cairo_ft-specific interface.
|
|
Chris rightfully complained that having a boolean function argument is
new in cairo_show_text_glyphs, and indeed avoiding them has been one
of the API design criteria for cairo. Trying to come up with alternatives,
Owen suggested using a flag type which nicely solves the problem AND
future-proofs such a complex API.
Please welcome _flags_t APIs to cairo.h
|
|
|
|
|
|
The version.xml file was rebuilt all the time and forcing a full
doc rebuild. Not anymore unless cairo-version.h was changed.
|
|
Also move it to build/.
We still do not call gtkdocize from autogen.sh.
|
|
Use a common build/Makefile.am.common file.
|
|
|
|
Like image surface and user fonts.
|
|
No idea why this was done initially but other projects I checked did not
do it.
|
|
Fixes automake warnings
|
|
|
|
Namely:
src/Sources.mk -> src/Makefile.sources
src/Config.mk -> src/Makefile.am.config
src/Config.mk.win32 -> src/Makefile.win32.config
|
|
|
|
Quick summary of changes:
- Move list of cairo source files out of src/Makefile.am and into
src/Sources.mk,
- Generate files src/Config.mk and src/Config.mk.win32 that choose
the right set of source files and headers based on configured
backends and features. This drastically simplifies building
using other build systems. The src/Makefile.win32 file needs
to be updated to reflect these changes.
- Add README files to various directories,
- Add toplevel HACKING file.
|
|
|
|
|
|
|
|
We added cairo_has_show_text_glyphs() before. Since this is really a
surface property, should have the surface method too. Like we added
cairo_surface_show_page()...
|
|
|
|
|
|
Also validate clusters generated by font backends.
|
|
New public API:
cairo_toy_font_face_create()
cairo_toy_font_face_get_family()
cairo_toy_font_face_get_slant()
cairo_toy_font_face_get_weight()
|
|
|
|
|
|
|
|
New public API:
cairo_text_cluster_t
cairo_has_show_text_glyphs()
cairo_show_text_glyphs()
Add accompanying gstate and surface functions, and surface backend methods.
No backends implement them just yet.
|
|
|
|
To be used for things like passing a negative number of glyphs
to cairo_show_glyphs().
|
|
|
|
|
|
|
|
I'm sure I had done them all before. No idea what happened.
Perhaps gtk-doc was not seeing them as missing.
|
|
|
|
|
|
|
|
|
|
Docs only include stable API.
|
|
|
|
|
|
|