W3C home > Mailing lists > Public > www-xsl-fo@w3.org > April 2017

Re: Using Embed fonts while printing

From: Fausto Passariello <afunzionale@gmail.com>
Date: Fri, 21 Apr 2017 20:50:39 +0200
Message-ID: <CAEc2R3Qt4P+augQg3+5v_X2u18z2sy0M58Rw6Je3rMjb9xwJ6A@mail.gmail.com>
To: www-xsl-fo@w3.org
Sorry, as I maybe sent erroneously the message, I resend it.

Fausto

==
Dear Daniel,

I agree with the answer of Dave. However, I will try to add something else.

First of all, update your fop program. Current version is 2.1.Download at
https://xmlgraphics.apache.org/fop/
If you use the old 1.1 version, you will experiment  a lot of already
solved problems.
As far as I know, the last versions provided self-configuring procedures to
load fonts.

Doing it manually instead, you have to put the fonts in the lib directory
and then build the font-metrics xml file, using a java utility.
As last step, it's necessary to declare the fonts as embedded in the
configuration file (generally fop.xconf in the conf directory).

The last problem however (to be perfect, when your fonts are generally not
used by all people) is that you have to declare the option pdf-a to get
portable fonts (not dependent on the locally installed fonts, i.e. in a pc
of another user). The file will be more huge but all people will visualize
the same content.

I agree, all this is not exactly user-friendly.... but it works.

Best regards,

Fausto

==
Fausto Passariello
Vascular  Surgeon
Editor of JTAVR
Journal of Theoretical and Applied Vascular Research
Online ISSN 2532-0831
DOI: 10.24019/issn.2532-0831 <https://doi.org/10.24019/issn.2532-0831>
Fondazione Vasculab ONLUS, Napoli, Italy.
www.vasculab.eu


2017-03-28 12:33 GMT+02:00 Dave Pawson <dave.pawson@gmail.com>:

> You need to tell fop about them, then link your xsl-fo font names
> to that configuration.
>
> https://xmlgraphics.apache.org/fop/2.1/fonts.html  will help
>
> HTH
>
> On 27 March 2017 at 11:25, Daniel Hummel (extern)
> <daniel.hummel@dfb-medien.de> wrote:
> > Dear All,
> >
> >
> >
> > I need help from the experienced people in this Group.
> >
> >
> >
> > I use fop version 1.1 for printing documents and each document contains
> > custom fonts (embed).
> >
> > If I use xsl-fo->pdf transformation it works, but my fonts are ignored by
> > the printing job.
> >
> >
> >
> > My research attempts lead to a dead end. I would be very pleased if
> someone
> > can help me.
> >
> >
> >
> > If there is no way to solve this problem, maybe you have another idea to
> > print using my fonts.
> >
> >
> >
> > Thx you very much.
> >
> >
> >
> > Best Regards
> >
> >
> >
> > ---------------------------------------------------------------------
> >
> > DFB-Medien GmbH & Co. KG
> >
> > Lister Straße 18
> >
> > 30163 Hannover
> >
> >
> >
> > fon: +49 (511) 760 770-228
> >
> > fax: +49 (511) 760 770-76-134
> >
> > email: daniel.hummel@dfb-medien..de
> >
> > Homepage: www.dfb-medien.de
> >
> > --------------------------------------------
> >
> > Hermann-Neuberger-Haus | Otto-Fleck-Schneise 6 | 60528 Frankfurt | DFB
> > Medien GmbH & Co. KG | Geschäftsführung: DFB Medien Verwaltungs-GmbH,
> deren
> > Geschäftsführer: Kurt Gärtner, Stefan Ludwig |   | HRA 30550 |
> > Registergericht: Frankfurt
> >
> > --------------------------------------------
> >
> > Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
> > Informationen. Wenn Sie nicht der richtige Adressat sind oder diese
> E-Mail
> > irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
> > löschen Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte
> > Weitergabe dieser E-Mail und der darin enthaltenen Informationen sind
> nicht
> > gestattet.
> >
> > This e-mail may contain confidential and/or privileged information. If
> you
> > are not the intended recipient (or have received this e-mail in error)
> > please notify the sender immediately and delete this e-mail. Any
> > unauthorized copying, disclosure or distribution of the material in this
> > e-mail is strictly forbidden.
> >
> >
> >
> >
>
>
>
> --
> Dave Pawson
> XSLT XSL-FO FAQ.
> Docbook FAQ.
> http://www.dpawson.co.uk
>
>
Received on Friday, 21 April 2017 18:51:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:10:21 UTC