Re: [ft-devel] loading fonts with signature 'OTTO'

2010-03-09 Thread Graham Asher

Thanks for the help, guys. Yes, it does work after all.

Being assured that fonts of this type are supported made me keep trying, 
and I discovered that the problem was trivial: I had disabled loading of 
the psnames module, by commenting out FT_CONFIG_OPTION_POSTSCRIPT_NAMES. 
Although there's a debug-only message saying you need that module to 
load CFF fonts, the actual error code implies that the format is 
unrecognised, causing some confusion. What we need somewhere on the 
FreeType web site is a list of font formats and the modules needed to 
load them; together with any gotchas like this one (it's a gotcha 
because you have to enable the psnames module both in ft_module.h and by 
having the right config option macro defined).


Graham


James Cloos wrote:

Graham == Graham Asher graham.as...@btinternet.com writes:



Graham What we have here is a CFF font packaged inside something else,
Graham I think.

Yes, CFF inside a SFNT container; what the public know as otf fonts.

When Werner added docs/formats.txt in 2004, ft already supported OTTO,
and that was between 2.1.8 and 2.1.9.

It is possible that the font is CID-encoded and that might explain why
you are having difficulties with it.

Other the freetype, you might want to see what the otfinfo(1) tool in
http://www.lcdf.org/type/lcdf-typetools-2.82.tar.gz has to say about it.

-JimC
  




___
Freetype-devel mailing list
Freetype-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype-devel


Re: [ft-devel] loading fonts with signature 'OTTO'

2010-03-09 Thread Werner LEMBERG

 What we need somewhere on the FreeType web site is a list of font
 formats and the modules needed to load them; together with any
 gotchas like this one (it's a gotcha because you have to enable the
 psnames module both in ft_module.h and by having the right config
 option macro defined).

From modules.cfg:

  # CFF/OpenType font driver.
  #
  # This driver needs the `sfnt', `pshinter', and `psnames' modules.
  FONT_MODULES += cff

Improvements are highly welcomed.


 Werner


___
Freetype-devel mailing list
Freetype-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype-devel


Re: [ft-devel] unused variable in the CFF module

2010-03-09 Thread Werner LEMBERG

 There is a variable in cff_parse.c that is set but never used. It is
 'rest' in cff_parse_real. It can safely be deleted. Someone must have
 noticed that, because an FT_UNUSED statement has been added, but the
 variable is completely redundant and all references to it can safely
 be removed.

Done, thanks.


Werner


___
Freetype-devel mailing list
Freetype-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype-devel


[ft-devel] Scope for parallelization in freetype library

2010-03-09 Thread srikatti

Hello Everybody,
   I want to know whether there can be any scope for parallelization in font
rendering in freetype  
   library,as  we are trying to run the freetype library  on multi core .Any
help is highly appreciated. 
-- 
View this message in context: 
http://old.nabble.com/loading-fonts-with-signature-%27OTTO%27-tp27793991p27845992.html
Sent from the Freetype - Dev mailing list archive at Nabble.com.



___
Freetype-devel mailing list
Freetype-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype-devel


[ft-devel] Scope for parallelization in freetype library

2010-03-09 Thread Srinivas Katti
Hello Everybody,
 We are trying to achieve performance improvement either through
parallelization /optimization in the freetype-2.3.11 library .Any help in
this regard is highly appreciated. 

Thanks and Regards,
Srinivas R.Katti
LG Soft India Pvt 
Sunningdale ,Embassy Golf Link Business Park
Intermediate Ring Road ,Koramangala 
Bangalore:560071

___
Freetype-devel mailing list
Freetype-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype-devel