Re: iso-tech: tprime;

2010-04-09 Thread Jeremias Maerki
You should get log output by FOP telling you about the missing glyphs. I
suggest you look at fonts like Arial Unicode MS or DejaVu Sans which
have a larger pool of glyphs.

Whether you use the character entities or direct UTF-8 characters will
be no difference to FOP as it will always receive the right Unicode
character. But the active font has to have the requested glyph.

On 09.04.2010 10:43:56 Mathieu Malaterre wrote:
 Hi there,
 
   I am trying to insert the iso-tech symbol tprime; in a PDF
 document. I was able to insert prime; and Prime; using Bob Stayton
 suggestion:
 
 http://www.sagehill.net/docbookxsl/SpecialChars.html#SwitchSymbol
 
   However I cannot get tprime; to render properly using either Symbol
 or ZapfDingbats. I even tried, using the UTF-8 character directly in
 the XML document:
 
   ‴
 
 but with no luck...
 
 Is there a way with fop to either fail with unsupported symbol, or
 -even better- suggest a fonts where a particular can be found.
 
 Thanks for suggestion,
 -- 
 Mathieu
 ref:
 http://oreilly.com/catalog/docbook/book2/iso-tech.html
 



Jeremias Maerki


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



Re: iso-tech: tprime;

2010-04-09 Thread Mathieu Malaterre
Thanks !
I could finally get it working with:

  !ENTITY dejavu-prime 'symbol role=dejavufontprime;/symbol'
  !ENTITY dejavu-Prime 'symbol role=dejavufontPrime;/symbol'
  !ENTITY dejavu-tprime 'symbol role=dejavufonttprime;/symbol'


Do not forget :
1. To add auto-detect/ to fop.xconf
2. To add the following in your customization layer:

xsl:template match=symb...@role = 'dejavufont']
  fo:inline font-family=DejaVu Sans
xsl:call-template name=inline.charseq/
  /fo:inline
/xsl:template

Cheers.
Ps: fop from trunk is actually *much* more verbose about those kind of
warnings than fop 0.95.

On Fri, Apr 9, 2010 at 3:35 PM, Jeremias Maerki d...@jeremias-maerki.ch wrote:
 You should get log output by FOP telling you about the missing glyphs. I
 suggest you look at fonts like Arial Unicode MS or DejaVu Sans which
 have a larger pool of glyphs.

 Whether you use the character entities or direct UTF-8 characters will
 be no difference to FOP as it will always receive the right Unicode
 character. But the active font has to have the requested glyph.

 On 09.04.2010 10:43:56 Mathieu Malaterre wrote:
 Hi there,

   I am trying to insert the iso-tech symbol tprime; in a PDF
 document. I was able to insert prime; and Prime; using Bob Stayton
 suggestion:

 http://www.sagehill.net/docbookxsl/SpecialChars.html#SwitchSymbol

   However I cannot get tprime; to render properly using either Symbol
 or ZapfDingbats. I even tried, using the UTF-8 character directly in
 the XML document:

   ‴

 but with no luck...

 Is there a way with fop to either fail with unsupported symbol, or
 -even better- suggest a fonts where a particular can be found.

 Thanks for suggestion,
 --
 Mathieu
 ref:
 http://oreilly.com/catalog/docbook/book2/iso-tech.html




 Jeremias Maerki


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





-- 
Mathieu

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