An additional piece of information is that Times font works fine for Preview and PDF rendering, but during
physical printing the bold/italic faces are of another font family.

Best regards


Mikael

>
> > Mikael wrote:
> >
> > <snip/>
> >
> > >             <table-cell font-family="Times" font-size="10.0pt"
> > > text-align="right" number-columns-spanned="7" column-number="4">
> > >
> > > The regular font displays perfectly, but it seems that other faces
> > > default to some other font ... anybody able to tell me if they have been
> > > more succesfull with installing custom font (then it works fine) ?
> >
> > The default font is Helvetica which is used if the font family specified is
> > not defined in the userconfig.xml file. In this case you will get a warning
> > message (saying font not found, using helvetica) sent to the
> Logger which if
> > called from the command line goes to stdout.
>
> Hey again, I don't know why I convinced myself that Times was the
> default font??
> Well, I switched to helvetica and yes, printing directly looks good
> (like preview
> and PDF does).
>
> But is it possible to use any other fonts than Helvetica (f.x. Times
> New Roman)
> without having to define entries in userconfig.xml ?
>
> >
> > I have got use defined fonts working perfectly. If running from the command
> > line, did you specify -c option? If running in an embedded java application
> > did you create an instance of the Options class, referencing the
> > userconfig.xml file?
>
> I too made a user configured font work, sorry if that wasn't clear.
>
> >
> > >
> > > (I've already looked at the FOP font and configuration pages without
> > > being able to find anything)
> >
> > Could you be more specific in the description of your problem and
> we will be
> > able to offer more specific advice.
>
> Yes, sorry ... I wasn't very specific. The issue is that I've
> specified Times (as
> shown in XSL-FO sample above) as font-family. Now some of my cells have either
> bold or italic font face. This makes the text in the cells, become
> of font-family
> Helvetica (I now realizes that it falls back to default font) but it
> seems that
> text location is not done using Helvetica fontmetrics - at least the
> text in the
> bold/italic cells are misplaced, so that the text overlaps the cell-
> border - the
> text is pushed a bit right as if the text location is based in the font being
> regular Times New Roman, but in fact FOP inserts Helvetica bold (but
> that's a guess
> on my behalf).
>
> So short question is, can I use any other fonts than Helvetica
> without having to
> create custom config ??
>
> If not, that brings me to a licensing issue - I assume that I can't
> (without violating)
> licenses of Monotype redistribute the TTF files (and generated
> metrics files) for Times
> New Roman?
> But if my application/FOP generates/uses these files on the platform
> on which it is
> installed - does this violate licenses ?
>
> >
> > Chris
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >

Reply via email to