U++ framework
Do not panic. Ask here before giving up.

Home » Community » U++ community news and announcements » PdfDraw font handling refactored
PdfDraw font handling refactored [message #38109] Sat, 01 December 2012 11:49
mirek is currently offline  mirek
Messages: 14290
Registered: November 2005
Ultimate Member
After witnessing a couple of problems, I have refactored PdfDraw font handling (and couple of related issues):

- PdfDraw is not able to simulate bold if font for given face is not available (italic was already implemented)

- Detection of missing bold or italic has changed to other TTF attributes

- Vector format non-TTF fonts in Linux (or, more specifically, when using FreeType/Fontconfig) can now be rendered if Painter or CtrlCore is present (before, CtrlCore was required). However bitmaped font can only be used with CtrlCore present, as before...

- Font has new IsTrueType method

- As PDF seems to understand font metrics slightly differently, U++ understanding is now forced in PDF to get consistent results

[Updated on: Sat, 01 December 2012 11:49]

Report message to a moderator

Previous Topic: CtrlCore: ASSERTs to detect global variable widgets and (some) missing GuiLocks
Next Topic: Testers wanted for new .deb packages
Goto Forum:
  


Current Time: Sun May 03 02:52:42 GMT+2 2026

Total time taken to generate the page: 0.00399 seconds