[scribus-dev] Scribus CTL

Khaled Hosny khaledhosny at eglug.org
Tue Feb 23 21:31:59 UTC 2016


On Wed, Feb 24, 2016 at 01:02:20AM +0400, Khaled Hosny wrote:
> On Tue, Feb 23, 2016 at 08:02:44PM +0100, Jean Ghali wrote:
> > Le 23/02/2016 18:46, Khaled Hosny a écrit :
> > > On Mon, Feb 22, 2016 at 11:05:13PM +0100, Craig Bradney wrote:
> > >>
> > >> Nice rendering. 1.5.1 on the left, HOST on the right. Characters are more rounded.
> > > 
> > > That is because we now render glyphs using the relevant Cairo APIs,
> > > instead of decomposing the glyph outlines and rendering them “manually”
> > > as vectors.
> > 
> > 
> > Just a remark. Cairo freetype backend is optional and may depend on Fontconfig or not. On
> > Windows Scribus does not have Fontconfig as a dependency. So if you use any Fontconfig
> > macro or structures, please enclose those in appropriate ifdef. Also on Windows, cairo is
> > built with the Windows font backend. So appropriate ifdef should also be used so as to use
> > glyph outlines if Freetype backend is not available.
> 
> I’ll keep that in mind. We don’t use FontConfig, and since Scribus
> already depends on FreeType, building Cairo with FreeType font backend
> adds no extra dependencies and should be a reasonable expectation (we
> should just make sure CMake checks for this).

Eventually we should evaluate porting to QPainter (at least the text
rendering code) since the current way of rendering to a Cairo image
surface and then rendering the image with QPainter is very suboptimal
(no subpixel antialiasing for example, and poor support for HiDPI
screens).

Regards,
Khaled



More information about the scribus-dev mailing list