#1 2010-07-16 07:44:58

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,272
Website

SynPdf unit updates

Here are the latest changes updated to the repository about our Synopse PDF engine:

  Version 1.8.1 - features added by contribution of REDDWARF / ONDREJ - THANKS!
  - new feature: allow forced JPEG compression for graphics
  - new feature: UNDERLINE + STRIKEOUT support (also in RICH TEXT and rotated text !)
  - new USE_SYNGDIPLUS conditional if you want to use the default jpeg unit instead of our SynGdiPlus (but you loose TIF, PNG, and GIF support)
  - enhanced: PenWidth changed to Single -> better precision (e.g. for underlined text)
  - fix issue: Rotated text was misplaced for some angles
  - some small fixes about FillRect() + scaling, and move/line stroke
  - REDDWARF / ONDREJ made a very good work - I had very few thinks to rewrite

  Version 1.8.2
  - added optional XOff,YOff parameters to RenderMetaFile()

  Version 1.8.3
  - now handle EMR_STRETCHDIBITS (used in Html2Pdf)
  - fix strike out line position (was too low)

  Version 1.8.4
  - fixed TextWidth() and TextMeasure()

  Version 1.8.5.
  - fixed font enumeration problem (trigerred with asiatic windows)

Offline

#2 2010-07-17 06:44:25

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,272
Website

Re: SynPdf unit updates

Version 1.8.6
  - system font enumeration is now stored using UTF-8, and any non ASCII font name will used in the PDF content the official Postscript name extracted from its TrueType font content;
  - optional charset parameter is now available in TPdfCanvas.SetFont: this was needed in case of TMetaFile rendering to fix some encoding problems.

It should fix some problems about fonts with name encoded in Chinese (I hope).

Offline

Board footer

Powered by FluxBB