Hi Alexios,
Thank a lot for the time you spent for me; your explanations are really
clear.
I try to convert with TypeTransformer 3.3, your Type 1 font (Alanden_.pfb)
to an Afp Outline font (CZA585.OLN).
I have not selected code page file in Step3-Character Filters.
and thus, I have this error during Fop process : GRAVE: The code page for an
AFP font cannot be found. Reason: java.io.FileNotFoundException: Resource
not found: T1U01253
How to create codepage file T1U01253 ?
Is it possible you send me your file ?
Thank in advance.
Christian Pestel
christian.pes...@orange.fr
-----Message d'origine-----
From: Alexios Giotis
Sent: Monday, July 02, 2012 6:18 PM
To: fop-users
Subject: Re: Fop AFP / How to embed Verdana font in afp file ?
Hi Christian,
I tried to execute FOP using the attached input & configuration file from
Java IDE (embedded, see [1]) but it was throwing an exception because the
code page file "T1V10500" is missing. I changed the configuration to use
another code page file that I had and an AFP file was produced. The font and
the codepage were embedded in the AFP file. I used the free afpexplorer to
verify this, [2]. Still, I could not open it with any AFP viewer. It seems
that there was a problem with the embedded AFP font that IBM Type
Transformer created. Additionally raster fonts are quite old and AFP experts
recommend the usage of AFP outline fonts. Type Transformer seems to give the
option to create AFP outline fonts, only from Type 1 fonts. So, I downloaded
the first freely available Type 1 font that google found [3], changed the
FOP config to
<font>
<afp-font type="outline" codepage="T1U01253" encoding="cp1253"
path="/Users/alex/Workspace/desk/afpVerdanaTest"
characterset="CZA282 ">
</afp-font>
<font-triplet name="Verdana" style="normal" weight="normal" />
<font-triplet name="any" style="normal" weight="normal" />
</font>
and created the attached AFP file. The name "Verdana" is now misleading but
I did not want to touch the input XSL:FO. In this AFP file, the outline font
is embedded and I can successfully view it with Compart's DocBridge View - I
noticed the file name test.Compart.afp in your zip and I guess you might
have this viewer. To conclude, TypeTransformer seems to me useful for
converting Type 1 fonts to AFP outline fonts. If you have a TTF input file,
you may transform it to Type 1 first (e.g. see [4]) and then to AFP outline.
Alternatively, you can buy one of the commercial (and expensive)
applications (isis-papyrus is one example). In that case, there are some
less expensive options like buying an older and unsupported second hand
license of such a tool or outsourcing the font conversion to a company or
AFP consultant that has a license for such tools. Note that I am not an AFP
consultant and I don't own such tools. For me, the Type 1 format is not far
away from the AFP outline format and although I have only barely touched
this area, it could be an interesting open source project.
[1] http://xmlgraphics.apache.org/fop/1.0/embedding.html
[2] http://www.compulsivecode.com/Project_AFPexplorer.aspx
[3] http://www.sketchpad.net/fonts/alanden-t1.zip
[4] http://fontforge.sourceforge.net/
Alexios Giotis
On Jun 29, 2012, at 6:18 PM, Alexios Giotis wrote:
Hi Christian,
Don't worry about the zip attachment, it exists and contains the
information needed. If you are sending this directly to my email, then
maybe gmail is filtering it. I don't have time to look at this today, but
in the past I have successfully created AFP files with embedded both
raster & outline AFP fonts. IBM type transformer has some limitations and
is not working for all TrueType fonts. In the meanwhile, somebody else
might have a look.
Alexios
On Jun 29, 2012, at 5:46 PM, Christian Pestel wrote:
Hi Alexios,
still pb with Symantec Mail Security detected prohibited content in a
message sent from your address
I rename it Fo2AFP_Verdana.bat => Fo2AFP_Verdana_CommandFile.txt
and C0A484B0 => C0A484B0.txt
Christian Pestel
christian.pes...@orange.fr
-----Message d'origine----- From: Christian Pestel
Sent: Friday, June 29, 2012 3:04 PM
To: fop-users
Subject: Fop AFP / How to embed Verdana font in afp file ?
Hi Alexios,
may be some pb to send you a zip file with .bat file inside.
I rename it Fo2AFP_Verdana_bat.txt
Christian Pestel
christian.pes...@orange.fr
-----Message d'origine----- From: Christian Pestel
Sent: Friday, June 29, 2012 2:40 PM
To: fop-users@xmlgraphics.apache.org
Subject: Re: Fop AFP / How to embed Verdana font in afp file ?
Hi Alexios,
The file name is correct but this doesn't work.
send you the zip file.
Christian Pestel
christian.pes...@orange.fr
-----Message d'origine----- From: Alexios Giotis
Sent: Friday, June 29, 2012 11:50 AM
To: fop-users@xmlgraphics.apache.org
Subject: Re: Fop AFP / How to embed Verdana font in afp file ?
Hi Christian,
If the file name is C0A484B0.240, try renaming this to C0A484B0. If this
does not work, post a small, self contained example (XSL:FO, raster font,
fop config).
Alexios
On Jun 28, 2012, at 5:37 PM, Christian Pestel wrote:
Thank you Alexios for your help,
I download TypeTransformer [
http://www-01.ibm.com/support/docview.wss?uid=psd1P4000840 ] on my
Windows7 workstation, no problem to install and run it.
I try to create Verdana Afp font from Verdana windows TTF
First, I want to select Windows font directory to browse ttf files.
TypeTransformer exclude Windows\Fonts directory from directories
selection
!?
I copy the 4 Verdana ttf files in another directory , and thats's work.
Second, I select in TypeTransformer
icon 1 - TypeFaces
icon 2 - Point sizes
icon 3 - Characters filters
Button codepage : nothing to select.
Button character list : I select LATIN.CLS
icon 4 - Start job
Some character are not ....
I selected YES
28/06/2012 16:17:59 DUV0018: Transformation of job JOB1 has started.
28/06/2012 16:17:59 DUV0001: Transformation of font Verdana (font
character set C0A484B0, point size 12.0, resolution 240) has started.
28/06/2012 16:17:59 DUV0015: Transformation of font character set
C0A484B0
has ended.
28/06/2012 16:17:59 DUV0458: The record length for this character set
is:
10536.
28/06/2012 16:17:59 DUV0122: Transformation of 122 job JOB1 has
successfully completed.
I obtain a raster Afp file C0A484B0.240 (46 Ko) for Verdana raster
Normal
12 pt
In my fop.conf USERCONFIG.xml
I add :
<!-- Verdana Normal (raster) -->
<font>
<afp-font type="raster" codepage="T1V10500" encoding="Cp500"
base-uri="D:/__Projets/NewProjets/BdocSuite_510/FopAFP/VerdanaFont/AfpFont">
<afp-raster-font size="12" characterset="C0A484B0" />
</afp-font>
<font-triplet name="Verdana" style="normal" weight="normal"/>
</font>
I run fop an I obtain the same Afp file without embeded font.
What's wrong ?
Christian Pestel
christian.pes...@orange.fr
-----Message d'origine----- From: Alexios Giotis
Sent: Thursday, June 28, 2012 3:16 PM
To: Christian Pestel
Cc: fop-users
Subject: Re: Fop AFP / How to embed Verdana font in afp file ?
Try to use the free IBM Type Transformer for Windows [1] to transform a
TrueType font to an AFP raster or outline font. You might find some
other
AFP tools at [2].
[1] http://www-01.ibm.com/support/docview.wss?uid=psd1P4000840
[2] http://wiki.apache.org/xmlgraphics-fop/AFPResources
Alexios Giotis
On Jun 28, 2012, at 3:52 PM, Christian Pestel wrote:
Hi,
I would like to embed Verdana font in my AFP file. How to do that ?
I have Windows Verdana TrueType font installed on my workstation.
Is there a Fop tool to convert Verdana TrueType to Verdana AFP raster
or
outline ?
or do you know an openSource converter ?
or do I need to sell AFP Verdana raster font or AFP Verdana outline
font
from IBM or Terrapin or else ?
Thank for your help.
Christian Pestel
christian.pes...@orange.fr
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
<C0A484B0><JOB1.sum><USERCONFIG.XML><testVerdana.fo><testVerdana.afp>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
<To_Alexios.zip>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org