xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geert Bormans <ge...@gbormans.telenet.be>
Subject Re: issues with TTFReader
Date Mon, 06 Jul 2009 16:21:02 GMT
I use the command line option
-c path\fop.xconf
don't know how to do that from java.
I assume it is a property in the api?

At 13:02 6/07/2009, you wrote:


>Hi Geert,
>Can you please let me know how did you made reference to the the conf file
>in your applicaition
>I am also getting the same error. And in my case i am refering the fop.conf
>from java
>but still the problem exist for me
>
>
>Regards
>Sumit
>
>
>
>Geert Bormans wrote:
> >
> > Stupid me, I was not making a reference to the conf file,
> > thank you all very much for your help, this is great
> >
> > I am now using DejaVu, and it does exactly what I need
> >
> > At 14:25 8/05/2009, you wrote:
> >>mmh, still not there yet
> >>
> >>This is what I did in the configuration file
> >>
> >>
> >> embed-url="file:///f:/***/fonts/DejaVuSerif.ttf">
> >>                                         <font-triplet
> >> name="DejaVuSerif" style="normal" weight="400" />
> >>
> >>
> >>
> >> embed-url="file:///f:/***/fonts/DejaVuSerif-Bold.ttf">
> >>                                         <font-triplet
> >> name="DejaVuSerif" style="normal" weight="700" />
> >>
> >>
> >>And I get this error,
> >>
> >>8-mei-2009 14:22:23 org.apache.fop.fonts.FontInfo notifyFontReplacement
> >>WARNING: Font 'DejaVuSerif,normal,400' not found. Substituting with
> >>'any,normal,
> >>400'.
> >>8-mei-2009 14:22:23 org.apache.fop.fonts.FontInfo notifyFontReplacement
> >>WARNING: Font 'DejaVuSerif,normal,700' not found. Substituting with
> >>'any,normal,
> >>700'.
> >>
> >>so or I make an error, or it is not using the configuration
> >>
> >>
> >>
> >>
> >>At 12:28 8/05/2009, you wrote:
> >>>Geert Bormans wrote:
> >>>
> >>>Hi,
> >>>
> >>>>Sorry for being so ignorant....
> >>>
> >>>Don't apologize for being a newbie. You've asked on the right list,
> >>>so we are happy to answer your questions.
> >>>
> >>>>I came across dejavu in the archive of this forum
> >>>>I have downloaded that yesterday
> >>>>what do I need to exactly do to make it work with fop
> >>>>- extract all the ttf from the zip
> >>>>- make some sort of reference to the ttf files in the conf?
> >>>
> >>>Yes add a font element into fop.xconf below the PDF Renderer, an
> >>>example for Lucide Console:
> >>>
> >>>
> >>>         <font-triplet name="Lucida Console" style="normal"
> >>> weight="normal"/>
> >>>
> >>>
> >>>
> >>>>- and set the default font family to "dejavu" in the root element of
my
>fo
> >>>
> >>>The 3 steps you've outlined above are a good summary of the steps
> >>>involved. So give it a go and let us know if you have any problems.
> >>>
> >>>Thanks,
> >>>
> >>>Chris
> >>>
> >>>>thanks again
> >>>>
> >>>>
> >>>>At 12:13 8/05/2009, you wrote:
> >>>>
> >>>>>Hi
> >>>>>
> >>>>>Chris Bowditch wrote:
> >>>>> > Geert Bormans wrote:
> >>>>> >
> >>>>> > Hi,
> >>>>> >
> >>>>> >> Hi,
> >>>>> >>
> >>>>> >> I need to deliver PDF for all European languages using
FOP
> >>>>> (preferably)
> >>>>> >>
> >>>>> >> I am testing on a windows machine, the eventual operation
will be
> >>>>> on a
> >>>>> >> Sun Solaris 10 machine.
> >>>>> >> And I have a bunch of questions
> >>>>> >>
> >>>>> >> 1. Does anyone have a good recommendation for a font that
covers
> >>>>> all
> >>>>> >> the characters I will need. Currently I think that Arial
Unicode MS
> >>>>> >> would suite best
> >>>>> >> I appreciate suggestions for alternatives
> >>>>> >
> >>>>> > Arial Unicode MS does indeed have a good coverage of glyphs
for most
> >>>>> > languages. I can't immediately think of any alternatives. You
may
> >>>>> find
> >>>>> > you are breaching the license of that font if you are planning
on
> >>>>> using
> >>>>> > it on a Solaris system however, as I believe it is included
with MS
> >>>>> > Office. So technically you would need a license for MS Office
for
> >>>>> your
> >>>>> > Solaris environment in order to be able to use the font there.
> >>>>>
> >>>>>Linux-based distributions provide a lot of fonts with varying coverage
> >>>>>of the Unicode standard. I can think of two of them, DejaVu and
> >>>>>FreeFont, but there are probably others.
> >>>>>http://dejavu-fonts.org/wiki/index.php?title=Main_Page
> >>>>>http://www.gnu.org/software/freefont/
> >>>>>There are also the STIX fonts:
> >>>>>http://www.aip.org/stixfonts/
> >>>>>
> >>>>>All those fonts should have a more permissive license than Arial
>Unicode
> >>>>>MS, and provide a good coverage of all European languages.
> >>>>>
> >>>>><snip/>
> >>>>>
> >>>>>HTH,
> >>>>>Vincent
> >>>>>
> >>>>>---------------------------------------------------------------------
> >>>>>To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> >>>>>For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> >>>>
> >>>>---------------------------------------------------------------------
> >>>>To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> >>>>For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> >>>
> >>>
> >>>
> >>>
> >>>---------------------------------------------------------------------
> >>>To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> >>>For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> >>
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> >>For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> > For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> >
> >
> >
>
>--
>View this message in context: 
>http://www.nabble.com/issues-with-TTFReader-tp23435848p24353492.html
>Sent from the FOP - Users mailing list archive at Nabble.com.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
>For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


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


Mime
View raw message