Re: True Type Fonts in Fop

2001-12-17 Thread jthaemlitz


They were Type 1 PFM fonts.  They looked fine when they were viewed with
Acrobat on NeoWare Linux.  But they would not print (standard Linux lpr
poscript was used).

JohnPT





[EMAIL PROTECTED]   
  
APACHE.ORG
To: [EMAIL PROTECTED]   
  
cc:   
12/17/01 02:25 AM 
Subject: Re: True Type Fonts in Fop   
Please respond to fop-user  









On 2001.12.14 18:05 [EMAIL PROTECTED] wrote:

 We noticed that when fonts are embeded by FOP they are imported with
 Windows encoding (in Adobe File-Document Info.-Fonts...).  If you use
 a
 Adobe tool to embeded a font it's encoding is Built-in (or something to
 that effect).  We found our Unix boxes needed things tweaked,similar to
 whats described by Chuck below, to make the FOP embeded fonts work.  The
 Windows encoding happened even if the FOP processing was run on a
 non-Windows computer.

 I still don't get why that works like that.  A clean solution to this
 would
 be something nice for the documentation library :)

 JohnPT

I there is precise information then it should be documented.

What type of font were you embedding, was it a windows font. Could it be
possible that the font cannot be used on another platform.
The fonts are embedded, they are not converted.









Re: True Type Fonts in Fop

2001-12-14 Thread Matt Raible
I believe FOP only supports Times and Courier.  I discovered last week that if
you don't specify any font, you'll get Arial.

You might try www.renderx.com for a parser that supports more of the standard.

Matt

--- Sam Prokop [EMAIL PROTECTED] wrote:
 Hi,
 i´ve got the following problem,
 i did everthing like it is said in http://xml.apache.org/fop/fonts.html,
 created metrics etc..
 
 fop says: Writing 12180 bytes of font data
 
 But there is still the standard font in my pdf.
 
 i´m using fop 0.20.2.  
 
 the entry in the conf/userconfig.xml:
 
   font metrics-file=FONTS\ANTQUAB.XML kerning=yes
 embed-file=C:\WINNT\FONTS\ANTQUAB.TTF
   font-triplet name=BookAntiqua,Bold
 style=normal weight=bold/
   font-triplet name=Book Antiqua Bold
 style=normal weight=bold/
   /font
 
 this is the beginning of the metrics-file:
 
 ?xml version=1.0 encoding=UTF-8?
 font-metrics type=TYPE0
   font-nameBookAntiqua,Bold/font-name
   embed/embed
   cap-height685/cap-height
   x-height0/x-height
 
 --
 Sam 
 


__
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com