On 24/04/2012 19:16, Luis Bernardo wrote:
Hi Luis,
Just by itself the embed-url attribute does not imply that the font
will be embedded. I know that the attribute name is confusing, and the
documentation may not be up to date, but I believe that is the case.
Fonts are subset embedded by defaul
bug filed at https://issues.apache.org/bugzilla/show_bug.cgi?id=53142
jean-philippe, you may want to create a bugzilla account and add yourself
to the CC list for this bug
On Tue, Apr 24, 2012 at 1:16 PM, Glenn Adams wrote:
> ok, on digging into this further i have found:
>
> (1) luis is correc
btw, this code has been present since 2008-05-08 [1]
[1] http://svn.apache.org/viewvc?view=revision&revision=654461
On Tue, Apr 24, 2012 at 1:16 PM, Glenn Adams wrote:
> ok, on digging into this further i have found:
>
> (1) luis is correct that embedding is performed by default without the
> r
ok, on digging into this further i have found:
(1) luis is correct that embedding is performed by default without the
referenced-fonts element;
(2) in particular, when i add i see the same behavior: glyphs
not found; when i remove, it works fine (and embeds subset);
(3) looking at TTFFontLoader
Just by itself the embed-url attribute does not imply that the font will
be embedded. I know that the attribute name is confusing, and the
documentation may not be up to date, but I believe that is the case.
Fonts are subset embedded by default unless the referenced-fonts element
is present,
two more suggestions:
(1) remove the first element (containing the referenced fonts
element)
(2) use a current FOP 1.1dev (trunk) build [1]
[1] http://ci.apache.org/projects/xmlgraphics/fop/snapshots/
On Tue, Apr 24, 2012 at 10:30 AM, Jean-Philippe Courson <
jean-philippe.cour...@cognitran.com>
On 04/24/2012 11:46 AM, Jean-Philippe Courson wrote:
Hi Glenn,
I don't want to embed the fonts to avoid significant font redistribution
licensing costs.
The produced PDFs will be distributed to people having the fonts
installed on their machine.
Is that particular font a hard requirement, or
Just tried, same result. false . flate ./fonts ~/Downloads/fop-1.0/test$ ls fonts/SimSun.ttf~/Downloads/fop-1.0/test$ ../fop -fo test-fo.xml -c configuration-referenced-with-directory-element.xml output-referenced-with-directory-e
btw, have you tried using the element without the
element? e.g.
./fonts-to-reference-without-embedding
this allows you to restrict the set of fonts to be accessed for reference
only (non-embedded) use
On Tue, Apr 24, 2012 at 9:57 AM, Glenn Adams wrote:
> I notice at [1] that editable emb
Hi,
Unless you know this specific font is embeddable (which I don't), that's
not ubiquitously true. There is a flag in the font program which indicates
whether it is embeddable or not [1]. If you open it an font viewer, it
should tell you the restrictions set.
[1] http://www.microsoft.com/typogra
I notice at [1] that editable embedding is allowed. Note that FOP does not
embed the entire font, but only those glyphs used in the document. I would
be surprised if you were subject to redistribution licensing costs given
this situation.
[1] http://www.microsoft.com/typography/fonts/font.aspx?FMI
Hi Glenn,
I don't want to embed the fonts to avoid significant font redistribution
licensing costs.
The produced PDFs will be distributed to people having the fonts installed on
their machine.
Thanks for your help
Best regards,
JP
On 24 Apr 2012, at 16:28, Glenn Adams wrote:
> why do you *
why do you *not* want to embed? note that only the actually used glyphs
will be embedded in a subset font, so size should not be an issue
On Tue, Apr 24, 2012 at 9:15 AM, Jean-Philippe Courson <
jean-philippe.cour...@cognitran.com> wrote:
> Hi Glenn,
>
> Thanks for your reply.
>
> In your example
Hi Glenn,
Thanks for your reply.
In your example, you are embedding the font:
the embed-url attribute will get the font
embedded.
I have no problem creating a chinese PDF when the font is embedded.
The issue I am raising is when trying to reference (not embed) the font.
Thanks for your hel
Hi Chris,
Thanks for your reply.
The configuration-referenced.xml starts like this:
.
72
72
I also tried not using :
1) Using a CID-keyed font metrics file:
~/Downloads/fop-1.0/test$ java -cp
../build/fop.jar:../lib/avalon-framework-4.2.0.jar:../lib/batik-all
with attachments
On Mon, Apr 23, 2012 at 8:26 AM, Glenn Adams wrote:
> I just tried this with the font you referenced and had no problem.
> Attached is the configuration file and input file I used and resulting
> output. I'm using the current FOP 1.1dev (trunk) build.
>
> As Chris points out, yo
I just tried this with the font you referenced and had no problem. Attached
is the configuration file and input file I used and resulting output. I'm
using the current FOP 1.1dev (trunk) build.
As Chris points out, you may wish to avoid . Also, you notice
that I disabled the font cache and placed
On 23/04/2012 14:35, Jean-Philippe Courson wrote:
Hi all,
Hi Jean,
Thank you for your replies.
Please find attached a sample FO file highlighting the issue and 2
configuration files: one embedding the font, and another one referencing it.
I can't see the element in either configuration f
On 20/04/2012 18:54, Glenn Adams wrote:
Hi Glenn,
it is best you create a bug at [1] to track this; you can upload
attachments on the new bug; file it under the "Fop" product;
I'm not happy to encourage users on this list to open bugs before
confirming there is a defect.
Everything I've r
please provide the following info:
(1) version of FOP you are using and platform on which you are running it
(2) a maximally minimal input FO file that demonstrates your problem
(3) the output PDF file produced by this input file (1)
(4) the FOP xconf file you used to create (3)
(5) all console ou
tag pair in the renderer?
>
> If it is not, then that may be why it is refusing the find the font you are
> referencing.
>
> Best Regards,
>
> Robert Meyer
>
> > From: jean-philippe.cour...@cognitran.com
> > Subject: Chinese PDFs and non embedded fonts
>
com
> Subject: Chinese PDFs and non embedded fonts
> Date: Fri, 20 Apr 2012 12:55:59 +0100
> To: fop-users@xmlgraphics.apache.org
>
> Hi,
>
> I am trying to produce chinese PDFs not embedding fonts. I am using the
> SimSun font.
>
> When embedding the font, everything
Hi,
I am trying to produce chinese PDFs not embedding fonts. I am using the SimSun
font.
When embedding the font, everything is fine. However, when trying to reference
the font, FOP produced an invalid PDF, despite the Simsun font being installed
on the machines were the PDF is produced and o
23 matches
Mail list logo