Re: Force font style in spumux

Lawrence D'Oliveiro <ldo-kC51rjc0cqs1dNLGKZg6taU/[email protected]>
Newsgroups gmane.comp.multimedia.dvdauthor.user
Message-ID <[email protected]>
Elio Blanca wrote:

> Is there a way to get spumux render font in bold/italic style even if I don't have a 
> `fontname_bold.ttf' or a `fontname_italic.ttf' font file? (OOo Writer can do this)
> I mean, is this a matter of spumux? Otherwise, is some freetype setting involved?

As far as I can tell, FreeType cannot do this 
<http://www.freetype.org/freetype2/docs/reference/ft2-base_interface.html>. 
You have to fake it by geometric transformations like applying a skew to 
all the glyph control points, or moving them apart to make the glyphs 
fatter (or rendering the glyph multiple times at different overlapping 
positions to produce the bolding effect). FreeType leaves it to code at 
higher layers to implement this.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.