mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 15:48:00 +02:00
[NEWS] Add some notes about recent happenings
This commit is contained in:
parent
8f6e52b068
commit
e9933ba28c
1 changed files with 52 additions and 0 deletions
52
NEWS
52
NEWS
|
|
@ -1,3 +1,55 @@
|
|||
- User fonts: This is new API allowing the user of cairo API to provide
|
||||
drawings for glyphs in a font. This is most useful in implementing
|
||||
fonts in non-standard formats, like SVG fonts and Flash fonts, but can
|
||||
also be used by games and other application to draw "funky" fonts.
|
||||
See test/user-font.c and test/user-font-proxy.c for usage examples.
|
||||
|
||||
Note that user font API changed a bit just before this release.
|
||||
|
||||
- show_text_glyphs: This is new API allowing the caller of cairo to mark
|
||||
text glyphs with their original text. The PDF backend implements this
|
||||
new API and latest Pango master uses it. The result is (when bugs are
|
||||
fixed) that complex text can be copied out of pangocairo's PDF output
|
||||
correctly and reliably. There are bugs to fix though. A few poppler
|
||||
bugs, and some more in cairo and pango.
|
||||
|
||||
To test show_text_glyph, just grab pango master & this cairo snapshot and
|
||||
print text in gedit. Open in acroread or evince, select all, copy, paste
|
||||
in gedit and compare. The Arabic text with diacritic marks is particularly
|
||||
showing bad. Try with pango/pango-view/HELLO.txt if you are brave
|
||||
enough. The Indic text is showing improvements, but is still coming out
|
||||
buggy.
|
||||
|
||||
- text_to_glyphs API: This is mostly useful in combination with user-fonts.
|
||||
|
||||
The result of the above three changes combined is that when you render text
|
||||
using cairo_show_text() and a user font, the resulting PDF file is perfectly
|
||||
text extractable. Something one could not do with cairo before.
|
||||
|
||||
- Toy font face constructor and getters: Mostly for API completion, but
|
||||
also useful for higher level (like Pango) to hook into what the user
|
||||
has set using cairo_select_font_face(), making that toy API a bit more
|
||||
useful.
|
||||
|
||||
- LCD subpixel filtering using FreeType, with different filters. Original
|
||||
patch by David Turner.
|
||||
|
||||
|
||||
Known issues:
|
||||
|
||||
- Type3 fonts generated by cairo's PDF backend may show up in poppler/Evince
|
||||
in a different color than expected. This is fixed in poppler master branch.
|
||||
This mostly affects cairo user fonts. The test case test/user-font.c
|
||||
demonstrates this.
|
||||
|
||||
- User fonts using other fonts in their rendering are currently embedded in
|
||||
PDF as fallback bitmap glyphs. This will be (hopefully) fixed before 1.8.
|
||||
The test case test/user-font-proxy.c demonstrates this.
|
||||
|
||||
- The win32 font backend does not work in this version. This will be fixed
|
||||
as soon as possible.
|
||||
|
||||
|
||||
Release 1.6.4 (2008-04-11 Carl Worth <cworth@cworth.org>)
|
||||
=========================================================
|
||||
The cairo community is wildly embarrassed to announce the 1.6.4
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue