diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2008-08-08 17:12:07 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2008-08-08 17:13:27 -0400 |
commit | e9933ba28cad1fc2219f145f5da47750b19acc7b (patch) | |
tree | d861440cc23fec7fbfc09b8b8cea548dbee8aa5c /NEWS | |
parent | 8f6e52b0681384a5188277641d700f0e80e2c202 (diff) |
[NEWS] Add some notes about recent happenings
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 52 |
1 files changed, 52 insertions, 0 deletions
@@ -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 |