Re: Problem FOP 1.0: “WARNING: Glyph ...(Cyrillic symbol)... not available in font Times-Italic.”

2010-10-12 Thread Alex Smirnov

Thanks, Jeremias, for your response
I make a lot of mistake.

Have a nice day!




Jeremias Maerki-2 wrote:
 
 Hi Alex,
 
 unfortunately, you left out the interesting parts of the configuration,
 namely the parent element of the font-triplets. Anyway, you need to
 configure a font that has the cyrillic characters you require. Try to
 use a font name other than Times New Roman or serif which are
 already configured for the base 14 font set (which includes Times). But
 the base 14 fonts don't have the cyrillic characters. So you need a
 custom font with cyrillic characters. With a TrueType font you have the
 best change of success, but I've also created documents with cyrillic
 characters using Type 1 fonts.
 
 Good luck!
 
 
 Jeremias Maerki
 
 
 -
 To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
 For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
 
 
 

-- 
View this message in context: 
http://old.nabble.com/Problem-FOP-1.0%3A-%E2%80%9CWARNING%3A-Glyph-...%28Cyrillic-symbol%29...-not-available-in-font-%22Times-Italic%22.%E2%80%9D-tp29928240p29941649.html
Sent from the FOP - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: FOP Font Configuration in Linux

2010-10-12 Thread Rob Sargent
I can't speak to the use of auto-detect, but you either need to
generalize the font choise (sanserif?) or ensure arial is available
where ever you run your app.



On 10/11/2010 08:44 PM, pathum wrote:
 Then do you want me to activate auto-detect/ feature to load the fonts? 

 So no need of embedding the font afterwords or do I still need to put the
 xml file and the ttf file paths to the fo config file? If so, what will be
 the correct path format in linux?

 Really appreciate your help!


 Rob Sargent-4 wrote:
   
 The fonts on a linux box are usually found at /usr/share/fonts. 

 Most distros have a package for the MS fonts (ttf-mscorefonts or
 somesuch) though I don't see it on my SUSE default supplier :(


 You might get away with copying the files named in your config directly
 into /usr/share/fonts/truetype directory.

 On 10/11/2010 04:30 AM, pathum wrote:
 
 Hello,

 I am using Apache FOP for rendering PDF in a Java environment. Currently
 I
 am running my Enterprise Archive in a windows pc and its working fine.

 What I am having as the error is, the unicode.ttf file and the
 unicode.xml
 file are being hard-coded in windows.

 an extraction of my FO-config file is as follows.


   base./base
   
   strict-configurationtrue/strict-configuration
   
   strict-validationtrue/strict-validation
   
   font-base.//font-base
   
   source-resolution72/source-resolution
   target-resolution72/target-resolution
   
  
   default-page-settings height=11in width=8.26in/
   
   renderers
 renderer mime=application/pdf
   filterList

 valueflate/value
   

   /filterList

   fonts
 
 font-triplet name=arialunicode 
 style=normal weight=normal / 

   /fonts



 What my concern is that, I need to migrate this to linux environment and
 in
 that how could i set up the base, metrics path and the embed url?

 Any help will be really appreciated!
   
   
 -
 To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
 For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



 
   

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org