how to get fonts non in URL but in Resource WEB-INF

2005-03-07 Thread antoniosenatore1977
Hi. I need to get fonts in FOP not via url but in RESOURCE mode, 'cause i have the files (xml and ttf both) under the directory WEB-INF. How can i access the fonts via Resource. Thanks in advance bye Antonio - To unsubscribe

Fonts in FOP

2005-02-04 Thread Nuno.Canais
Hello, I need to include a new font in FOP. I already generate a new xml file of the font comic.ttf (ttfcomic.xml), and in the userconfig.xml added the new font. font metrics-file=ttfcomic.xml kerning=yes embed-file=c:\windows\fonts\comic.ttf font-triplet name=ComicSansMS style=normal weight

Re: Fonts in FOP

2005-02-04 Thread Manoj_Nair
Nuno I am also working on a similar issue which involves Japanese fonts but dont have it in a working condition. These are the points I have learned in process. 1) Open the ttfcomic.xml and see whats the name given in the font-name tag? This name should match the ComicSansMS as you have

RE: Fonts in FOP

2005-02-04 Thread Nuno.Canais
need to know, what and how do I need to configure? Nuno -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: sexta-feira, 4 de Fevereiro de 2005 17:48 To: [EMAIL PROTECTED] Subject: Re: Fonts in FOP Nuno I am also working on a similar issue which involves Japanese

RE: Fonts in FOP

2005-02-04 Thread Manoj_Nair
PROTECTED] cc: 2005/02/04 10:49 Subject: RE: Fonts in FOP

embedding fonts into all dynamically generate pdfs using coldfusion and fop.

2005-01-27 Thread Jaysheel Bhavsar
Hi all, I am very new to xsl-fop and to the world of xml and xsl. I am currently working on creating dynamic pdf using coldfusion mx and FOP. I am using Nate Nelson's tutorial published in ColdFusion Dev Journal. Everything is working great, except I want to embed couple of fonts into my pdf

followup: embedding fonts into all dynamically generate pdfs using coldfusion and fop.

2005-01-27 Thread Jaysheel Bhavsar
: embedding fonts into all dynamically generate pdfs using coldfusion and fop. Hi all, I am very new to xsl-fop and to the world of xml and xsl. I am currently working on creating dynamic pdf using coldfusion mx and FOP. I am using Nate Nelson's tutorial published in ColdFusion Dev Journal. Everything

Problem with fonts and images from a single ear embedded app

2005-01-18 Thread David P. Nesbitt
); } } My userconfig.xml file contains the following entries: fonts font metrics-file=arial.xml kerning=yes embed-file=arial.ttf font-triplet name=Arial style=normal weight=normal/ font-triplet name=ArialMT style=normal weight=normal/ /font font metrics-file=arialbd.xml kerning=yes embed

Centralizing Fonts

2005-01-18 Thread Luke Shannon
Hello; I have looked around for examples of this but have not found anything. Is there a way to define all the attributes (font-family, start-indent, etc) for fo:block used in the document? Thanks, Luke - To unsubscribe,

Re: Centralizing Fonts

2005-01-18 Thread Luke Shannon
. - Original Message - From: Luke Shannon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 18, 2005 3:26 PM Subject: Centralizing Fonts Hello; I have looked around for examples of this but have not found anything. Is there a way to define all the attributes (font-family

Re: Centralizing Fonts

2005-01-18 Thread Luke Shannon
Hah hah. Just like that. Thanks! - Original Message - From: The Web Maestro [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 18, 2005 3:39 PM Subject: Re: Centralizing Fonts On Jan 18, 2005, at 12:26 PM, Luke Shannon wrote: Hello; I have looked around for examples

Re: Centralizing Fonts

2005-01-18 Thread The Web Maestro
, at 12:42 PM, Luke Shannon wrote: Hah hah. Just like that. Thanks! - Original Message - From: The Web Maestro [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 18, 2005 3:39 PM Subject: Re: Centralizing Fonts On Jan 18, 2005, at 12:26 PM, Luke Shannon wrote: Hello; I have looked

Re: Problem with fonts and images from a single ear embedded app

2005-01-18 Thread J.Pietschmann
David P. Nesbitt wrote: I am trying to use FOP from with an application deployed on JBoss with a single ear file. My goal is to have all font metrics, font files, and image files loaded from within the war file embedded in the ear file. The fop.jar is in the WEB-INF/lib directory of the war

Re: Open Type Fonts

2004-12-29 Thread Jeremias Maerki
OpenType fonts are very similar to TrueType fonts. TTFReader should be able to read most high-quality OTF fonts. There's no guarantee that it'll work, though. On 28.12.2004 20:35:23 Stimpmania wrote: is it possible to use Open Type Fonts (.otf) with FOP, since there is only a TTFReader

Open Type Fonts

2004-12-28 Thread Stimpmania
Hello, is it possible to use Open Type Fonts (.otf) with FOP, since there is only a TTFReader and a PFMReader coming with FOP to generate Font Metrics. Thanks in regard, Jan Christe Manoel Veríssimo dos Santos Neto schrieb: How can I keep the line feed of text in the block tag??? Manoel

Re: Re: Where to download high-quality fonts

2004-12-22 Thread Jay Chiu
Can someone tell me where I can purchase some fonts to use with Fop, or what exact product from Adobe I should purchase? Thanks a lot. Jay Get your own 800 number Voicemail, fax, email, and a lot more http://www.ureach.com/reg/tag

Re: Where to download high-quality fonts

2004-12-22 Thread Jeremias Maerki
Some thoughts: - You can probably use the fonts installed on your system without having to purchase a separate license. You simply have to be careful about embedding the font because some fonts don't allow that (TTFReader will tell you). Also, look into the license text of the respective fonts so

Re: Where to download high-quality fonts

2004-12-19 Thread Jay Chiu
I come to the same question as Peter B. West posted 06/2004. I am converting html reports to pdf reports and needs the basic fonts that IE and netscape suport. I do not mind to purchase the fonts, if it is not too expensive. Peter and Paul, did you find out some solution to get some high

Re: How to embed CID-fonts in FOP 1.0dev

2004-09-30 Thread Jeremias Maerki
/filterList fonts font metrics-url=file:C:/Dev/FOP/temp/fonts/FUTURAL.ttf.xml kerning=no embed-url=file:C:/Dev/FOP/Temp/fonts/FUTURAL.ttf font-triplet name=Futura style=normal weight=200/ font-triplet name=Futura style=normal weight=normal

PS render, fonts, embedding

2004-09-29 Thread Jacek Wojcik
Hello, My English is not good (sorry...) but...:) I've got problem with PS render (i use FOP 0.20.5) and embedding fonts TTF (encoding ISO-Latin-2). I have to generate 20 pages (or more) using FOP and i don't want use Acrobat Reader to convert the PDF to PS (too many times): acroread

RE: PS render, fonts, embedding

2004-09-29 Thread Jacek Wojcik
Thanks again. We have one more question. Could You please point out someone (maybe You) who can add this feature to FOP library (creating PS files using ISO-Latin-2 fonts without using any external programms or installing fonts directly on printers etc.) as we are not familiar enough

Re: PS render, fonts, embedding

2004-09-29 Thread Jeremias Maerki
files using ISO-Latin-2 fonts without using any external programms or installing fonts directly on printers etc.) as we are not familiar enough with PostScript to do this. How much would it cost? Is it possible to achieve in a month time since now? All we need is jar file (or part of it) easily

RE: PS render, fonts, embedding

2004-09-29 Thread Victor Mote
Jacek Wojcik wrote: Thanks again. We have one more question. Could You please point out someone (maybe You) who can add this feature to FOP library (creating PS files using ISO-Latin-2 fonts without using any external programms or installing fonts directly on printers etc.) as we

RE: PS render, fonts, embedding

2004-09-29 Thread Victor Mote
Jacek Wojcik wrote: Thanks again. We have one more question. Could You please point out someone (maybe You) who can add this feature to FOP library (creating PS files using ISO-Latin-2 fonts without using any external programms or installing fonts directly on printers etc.) as we

Can't use relative path to fonts metrics file in userconfig.xml (even while using fontBaseDir, baseDir and baseURL parameter)

2004-08-30 Thread s-oualid
Hello, I can't use relative path to my fonts file (xml + ttf). Even if I use the fontBaseDir property in the Configuration fop's object. I need to do that because my app will be deployed on different platform using a single JAR file which contains all the needed fonts stuff (there is not shared

Réf. : Can't use relative path to fonts metrics file in userconfig.xml (even while using fontBaseDir, baseDir and baseURL parameter)

2004-08-30 Thread s-oualid
can't use relative path to my fonts file (xml + ttf). Even if I use the fontBaseDir property in the Configuration fop's object. I need to do that because my app will be deployed on different platform using a single JAR file which contains all the needed fonts stuff (there is not shared server which

FOP in tomcat servlet - path to fonts

2004-07-27 Thread Ondra Nekola
driver = new Driver(new InputSource(new StringReader(myXmlString)), response.getOutputStream()); ... driver.setRenderer(Driver.RENDER_PDF); try { driver.run(); } catch (Exception e) { ... } I have a custom fopconfig.xml, because I need to use local fonts

Partial solution: FOP in tomcat servlet - path to fonts

2004-07-27 Thread Ondra Nekola
\Fonts\times.ttf font-triplet name=TimesCS style=normal weight=normal / font-triplet name=TimesCS style=normal weight=bold / /font ... This configuration works ok. But it seems impossible to change filesystem paths to relative ones - the font metrics aren't found. -- S

Re: FOP in tomcat servlet - path to fonts

2004-07-27 Thread J.Pietschmann
Ondra Nekola wrote: This configuration works ok. But it seems impossible to change filesystem paths to relative ones - the font metrics aren't found. There is a fontBaseURL for setting a base URL for resolving relative paths to font metrics files. I think it should be possible to create an

Re: adding fonts to fop applet

2004-07-14 Thread Chris Bowditch
John Root wrote: Edward, Actually, this is not that difficult, however it's not well documented. You'll need to set up a configuration file for FOP, convert the fonts that you plan to use for your application, and add the info for the converted fonts to the config file. This procedure is fairly

Re: adding fonts to fop applet

2004-07-14 Thread John Root
a configuration file for FOP, convert the fonts that you plan to use for your application, and add the info for the converted fonts to the config file. This procedure is fairly well documented (adding fonts to FOP). Actually you missed the point of this thread. What you've described is how to set up

Re: adding fonts to fop applet

2004-07-13 Thread tango ray
Hi Simon, you mean that you succeed in using a non base14 font for pdf rendering in your application! Will you release the code soon (on the cvs? or your website )? Because honestly, that would really be helpfull! Edward Dialoguez directement et instantanément avec vos amis grâce à Yahoo!

Re: adding fonts to fop applet

2004-07-13 Thread John Root
Edward, Actually, this is not that difficult, however it's not well documented. You'll need to set up a configuration file for FOP, convert the fonts that you plan to use for your application, and add the info for the converted fonts to the config file. This procedure is fairly well documented

Re: adding fonts to fop applet

2004-07-13 Thread Simon Pepping
actually added to the list of fonts that FOP uses. If usage of the font is successful, is another matter, for which I am not very knowledgeable. Regards, Simon -- Simon Pepping home page: http://www.leverkruid.nl - To unsubscribe, e

Re: adding fonts to fop applet

2004-07-09 Thread Simon Pepping
On Fri, Jul 09, 2004 at 11:00:08AM +0200, tango ray wrote: Add a font in fop app is really hard !!! Chris warned you, this version of FOP is under heavy development. Support for user configuration and adding fonts is patchy. Well, was, I hope. I have just committed code which enables using

Re: Trouble embbeding fonts

2004-07-01 Thread Israel Romero Fijo
- From: Chris Bowditch [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 30, 2004 5:19 PM Subject: Re: Trouble embbeding fonts Israel Romero Fijo wrote: Hi!!! I'm trying to config Fop for embedding my fonts, but obviously don't do it. Font embedding works for True Type

Trouble embbeding fonts

2004-06-30 Thread Israel Romero Fijo
Hi!!! I'm trying to config Fop for embedding my fonts, but obviously don't do it. I'm trying to load file userconfig.xml from java using... - File userConfigFile = new File("C:\\fop\\userconfig.xml"); Options options = new Options(); options.loadUsercon

Re: Trouble embbeding fonts

2004-06-30 Thread Chris Bowditch
Israel Romero Fijo wrote: Hi!!! I'm trying to config Fop for embedding my fonts, but obviously don't do it. Font embedding works for True Type Fonts in PDF. Your code and user config file look okay. Why do you think Font embedding hasnt worked? Is there an error message during rendering

Re: fop and fonts in embeded svg graphics?

2004-06-21 Thread [EMAIL PROTECTED]
thanxs, you're right: strokesvgtext is the key. with strokeSVGText=true the text will be rendered as graphic instead of text. exact what i wanted. my fault, i tought both versions (windows and unix) were the same... markus Jeremias Maerki wrote: Are your userconfig.xml files the same? This

bug? fop -nocopy -noedit and own fonts

2004-06-20 Thread [EMAIL PROTECTED]
in my xsl-fo file i use an own font-family converted from a ttf font. this works very well. but when i run fop with -nocopy -noedit -o secret then my acrobat can't read the (embeded) font information and tries to use a default font. which makes the dokument look very odd... is this a bug?

Re: fop and fonts in embeded svg graphics?

2004-06-20 Thread Jeremias Maerki
Are your userconfig.xml files the same? This sounds like a difference in the strokeSVGText (http://xml.apache.org/fop/configuration.html#svg-strokeSVGText) config entry. Also, since this happens in an SVG/Batik context this may be due to differences between the Windows und Linux font subsystems.

Re: bug? fop -nocopy -noedit and own fonts

2004-06-20 Thread Jeremias Maerki
Yes, I think this is a known bug. I'm too lazy to look up the Bugzilla entry, but it has to do with the way encryption is implemented in FOP 0.20.5. Not all PDF elements are properly encrypted. This is already fixed in FOP Dev but I guess that won't help you right now. On 20.06.2004 11:35:19

Re: Where to download high-quality fonts

2004-06-06 Thread Peter B. West
Paul Tremblay wrote: On Sun, Jun 06, 2004 at 12:45:00AM +1000, Peter B. West wrote: What did you download, and where did you get the pfm fonts? I have just downloaded the unix distribution, and it includes only afm and pfb fonts. http://sourceforge.net/projects/gs-fonts/ I am guessing

Re: Where to download high-quality fonts

2004-06-06 Thread Paul Tremblay
and afm directories respectively. The pc download contains afm and fonts directories. The afm directory contains afm files, and the fonts directory contains pfb files and the pfmfiles directory. In the latter directory are the pfm files. The afm files are text files, while the pfms

Re: Where to download high-quality fonts

2004-06-05 Thread Paul Tremblay
On Thu, Jun 03, 2004 at 07:13:36PM +0200, J.Pietschmann wrote: Ghostscript and KDE come with completely free fonts, and I've seen TTF conversion for them. I'm just too lazy right know to search through their distributions for the actual font names and fedd this into Google. I als vaguely

Re: Where to download high-quality fonts

2004-06-05 Thread Peter B. West
Paul Tremblay wrote: On Thu, Jun 03, 2004 at 07:13:36PM +0200, J.Pietschmann wrote: Ghostscript and KDE come with completely free fonts, and I've seen TTF conversion for them. I'm just too lazy right know to search through their distributions for the actual font names and fedd this into Google. I

Re: Where to download high-quality fonts

2004-06-05 Thread Paul Tremblay
On Fri, Jun 04, 2004 at 12:31:36PM +1000, Peter B. West wrote: The American Mathematical Society has the copyright on the Computer Modern fonts. http://www.ams.org/tex/type1-fonts.html These are available in Type 1 format. In addition, there are AMS-developed fonts for mathematics

Re: Where to download high-quality fonts

2004-06-05 Thread Peter B. West
Paul Tremblay wrote: On Fri, Jun 04, 2004 at 12:31:36PM +1000, Peter B. West wrote: The American Mathematical Society has the copyright on the Computer Modern fonts. http://www.ams.org/tex/type1-fonts.html These are available in Type 1 format. In addition, there are AMS-developed fonts

Re: Where to download high-quality fonts

2004-06-05 Thread J.Pietschmann
Paul Tremblay wrote: I have these fonts on my system. But I don't see any font.pfb file. Well, I think I've seen ready-to-use TTF for the fonts coming with GhostScript elsewhere, I just don't remember the Google query to get them. J.Pietschmann

Re: Where to download high-quality fonts

2004-06-05 Thread Peter B. West
Paul Tremblay wrote: On Sat, Jun 05, 2004 at 03:54:39PM +1000, Peter B. West wrote: quote These fonts are available in Macintosh and PFB (binary Type 1) outline formats. Users requiring the fonts in PFA (ASCII Type 1) form should convert them with the aid of one of the following tools

Re: Where to download high-quality fonts

2004-06-05 Thread Paul Tremblay
On Sun, Jun 06, 2004 at 12:45:00AM +1000, Peter B. West wrote: What did you download, and where did you get the pfm fonts? I have just downloaded the unix distribution, and it includes only afm and pfb fonts. http://sourceforge.net/projects/gs-fonts/ I am guessing that this site

Re: Where to download high-quality fonts

2004-06-05 Thread Simon Pepping
On Sat, Jun 05, 2004 at 02:16:59AM -0400, Paul Tremblay wrote: I also notice that with cmb10, I get only a limited range of characters, up to unicode values 128 (ASCII). cmb10 is one of the original Computer Modern fonts of Donald Knuth. All these fonts contain 128 characters. On a X Window

Re: Where to download high-quality fonts

2004-06-04 Thread Peter B. West
, the distinction doesn't matter all that much anyway. I thought the rendering of the font was done by the program. Also, what exactly is hinting? Is that not some technique to make a font look better? It is a technique which makes scaled down glyphs look better. Remember, TrueType fonts are used

Re: Where to download high-quality fonts

2004-06-03 Thread Paul Tremblay
On Tue, Jun 01, 2004 at 06:04:32PM +0100, Mike Brodbelt wrote: I don't know the details for PostScript fonts, but TrueType fonts are considered as small programs which, when executed with the correct font engine, draw the correct glyphs on the screen. While the glyph shapes themselves can't

Re: Where to download high-quality fonts

2004-06-03 Thread J.Pietschmann
matter all that much anyway. I thought the rendering of the font was done by the program. Also, what exactly is hinting? Is that not some technique to make a font look better? It is a technique which makes scaled down glyphs look better. Remember, TrueType fonts are used to generate glyph bitmaps

Re: Where to download high-quality fonts

2004-06-01 Thread Mike Brodbelt
for PostScript fonts, but TrueType fonts are considered as small programs which, when executed with the correct font engine, draw the correct glyphs on the screen. While the glyph shapes themselves can't be copyrighted, the program that is a ttf file (or other type of font) can be, and the hinting alogrigthms

Re: Where to download high-quality fonts

2004-05-28 Thread Paul Tremblay
in the shape of all the Bookman fonts, twiddle with the shapes until they are exactly right, and realease my fonts with no copyright restrictions. It turns out that doing this is pretty difficult. Still, it is a worthwhile endeavor for someone who is skilled at creating fonts to create knockoffs

Where to download high-quality fonts

2004-05-26 Thread Paul Tremblay
I think I'm getting the hang of installing fonts in fop, but I can't find any site where I can download high-quality fonts. I think adobe Type 1 fonts are preferable? I would like to have some of the fonts I am use to, such as Bookman, New Century Schoolbook, etc. Can anyone point me to a site

RE: Where to download high-quality fonts

2004-05-26 Thread Chris Warr
Can't you just grab them out of the windows/fonts directory? Or am I talking out my clack? Chris. -Original Message- From: Paul Tremblay [mailto:[EMAIL PROTECTED] Sent: Wednesday, 26 May 2004 11:51 AM To: fop mailing list Subject: Where to download high-quality fonts I think I'm

Re: Where to download high-quality fonts

2004-05-26 Thread Paul Tremblay
On Wed, May 26, 2004 at 11:45:04AM +1000, Chris Warr wrote: Can't you just grab them out of the windows/fonts directory? Or am I talking out my clack? Can you? I have a linux box. My girlfriend has a Macintosh, which puts fonts in some type of suitcase. If you can just grab those high

RE: Where to download high-quality fonts

2004-05-26 Thread Chris Warr
Pretty sure that's how we got our Arial font in there, don't know about the legal issues though. -Original Message- From: Paul Tremblay [mailto:[EMAIL PROTECTED] Sent: Wednesday, 26 May 2004 12:31 PM To: [EMAIL PROTECTED] Subject: Re: Where to download high-quality fonts On Wed, May 26

RE: Where to download high-quality fonts

2004-05-26 Thread Andreas L. Delmelle
-Original Message- From: Paul Tremblay [mailto:[EMAIL PROTECTED] Hi, snip / Anyone every take a Windows font and use it in fop? Sure! Happens all the time... Concerning Chris' question about the legal issues, that's a whole different story (--the details of which I'm not too

Re: non Base-14 fonts and performance.

2004-02-25 Thread SEBoedecker
cc Subject Please respond to Re: non Base-14 fonts and [EMAIL PROTECTED

RE: non Base-14 fonts and performance.

2004-02-25 Thread Andreas L. Delmelle
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Since I am new to font creation, what is reason for the better performance? The best I can determine is that with WINANSI, we access the encoded letters directly and with CID we access the glyphs to build the

Re: non Base-14 fonts and performance.

2004-02-25 Thread J.Pietschmann
[EMAIL PROTECTED] wrote: Since I am new to font creation, what is reason for the better performance? The best I can determine is that with WINANSI, we access the encoded letters directly and with CID we access the glyphs to build the letters?? For a winansi encoding, the glyph indexes are

Re: non Base-14 fonts and performance.

2004-02-24 Thread Chris Bowditch
[EMAIL PROTECTED] wrote: During performance tuning, I came across the issue of non Base-14 fonts killing performance. I have a pdf that renders in 20 seconds using the Helvetica font but when the font is changed to a ttf file via the userconfig.xml, the render time takes 2 minutes or more. When

Re: non Base-14 fonts and performance.

2004-02-24 Thread SEBoedecker
cc AM Subject Re: non Base-14 fonts and Please respond to performance

Re: non Base-14 fonts and performance.

2004-02-24 Thread J.Pietschmann
[EMAIL PROTECTED] wrote: During performance tuning, I came across the issue of non Base-14 fonts killing performance. I have a pdf that renders in 20 seconds using the Helvetica font but when the font is changed to a ttf file via the userconfig.xml, the render time takes 2 minutes or more

Re: non Base-14 fonts and performance.

2004-02-24 Thread SEBoedecker
cc PM Subject Re: non Base-14 fonts and Please respond to performance

non Base-14 fonts and performance.

2004-02-23 Thread SEBoedecker
During performance tuning, I came across the issue of non Base-14 fonts killing performance. I have a pdf that renders in 20 seconds using the Helvetica font but when the font is changed to a ttf file via the userconfig.xml, the render time takes 2 minutes or more. I have tried to create my

Re: Non-visible characters in embedded fonts

2004-01-02 Thread Julian Reschke
fonts. What glyphs do you expect to appear? Unicode characters 128 to 159 are control characters, after all (see code charts at http://www.unicode.org). BTW: there's no such thing as lower ASCII. ASCII is a 7-bit encoding. Regards, Julian -- green/bytes GmbH -- http://www.greenbytes.de -- tel

Re: Non-visible characters in embedded fonts

2004-01-02 Thread John Root
On 1/1/04 3:54 PM, Petr van Blokland [EMAIL PROTECTED] wrote: Does anyone know where to search for the problem that characters #130; to #159; are displayed as # characters. # characters appear in the output when there is no glyph for that character code in the selected font. John

Non-visible characters in embedded fonts

2004-01-01 Thread Petr van Blokland
Dear list, happy 2004. Does anyone know where to search for the problem that characters #130; to #159; are displayed as # characters. The other characters (lower ascii and beyond #160) are displaying fine. Is this an encoding problem? I seem to get the same result for all fonts. Kind regards

RE: Adding fonts to FOP - Where can I find already made Font-XML -Files?

2003-12-15 Thread Beer, Christian
Hi! To process all fonts in a directory, you could do the following: 1. create a batch-file for the command containing (i called it fnts.bat): java -cp build\fop.jar;lib\avalon-framework.jar;lib\xml-apis.jar; lib\xercesImpl.jar;lib\xalan.jar

Adding fonts to FOP - Where can I find already made Font-XML-Files?

2003-12-12 Thread Jonny Pony
Hi, I want to add more fonts to FOP. I do it something like this: java -cp build\fop.jar;lib\avalon-framework.jar;lib\xml-apis.jar; lib\xercesImpl.jar;lib\xalan.jar org.apache.fop.fonts.apps.TTFReader C:\windows\fonts\cmr10.ttf ttfcm.xml Since there are so many fonts

Integrate fonts in java-application?

2003-12-12 Thread Jonny Pony
Hi, I want to integrate some extra fonts into my java-application that creates pdf from xml/xsl-Files. My Java so far (Creates a pdf from a StreamSource): //Java import java.io.File; import java.io.IOException; import java.io.OutputStream

Re: Adding fonts to FOP - Where can I find already made Font-XML-Files?

2003-12-12 Thread J.Pietschmann
Jonny Pony wrote: Since there are so many fonts and it is a lot of work , I was wondering if there is a site with already made Font-XML-Files? There is no such site AFAIK. One possible problem is Copyright. The other problem is: how should anybody know which fonts you intend to use? J.Pietschmann

Re: Integrate fonts in java-application?

2003-12-12 Thread J.Pietschmann
Jonny Pony wrote: So how can I work with the config-file and font-XMLs and *.TTFs in my code? See http://xml.apache.org/fop/embedding.html#config-external (I don't want to have absolute paths, like embed-file=file:///C:/Windows/Fonts/AriBlk.ttf in my code) Has anyone got sample code

Re: Integrate fonts in java-application?

2003-12-12 Thread Jonny Pony
see nothing? And one more question: Is there a simple way to integrate the fonts right away in the package, so I don't have to register the fonts in my code every time. What I mean: Modify the source-code of fop, compile it and don't worry about extra registering. Thanks Jonny From

RE: Integrate fonts in java-application?

2003-12-12 Thread Andreas L. Delmelle
nothing? The fonts (--or more accurately, the glyphs used in the file) will be embedded in the PDF, so he can safely open your file and look at the same result you are seeing. And one more question: Is there a simple way to integrate the fonts right away in the package, so I don't have to register

RE: Japanese fonts do not appear in desired weights

2003-12-08 Thread Glen Mazza
for the multiple weight fonts, but also because it appears to fix the FOP line break issue in Japanese (where lines can sometimes begin with a punctuation mark). Any advice would be greatly appreciated. Regards, Graham Hannington A search on JPFOP and its author gave a Japanese-language XML ML-- http

Re: PostScript and CID-fonts

2003-12-03 Thread Jeremias Maerki
As a workaround you can use GhostScript to convert the PDF files to PostScript. The EPS files will processed correctly this way. On 03.12.2003 09:24:57 Krister Wicksell Eriksson wrote: I'm trying to get the cid-fonts.fo example working with ps output but get the error. [WARNING] Only

RE: Japanese fonts do not appear in desired weights

2003-12-02 Thread Graham Hannington
This means you can only select MS Mincho and MS PMincho I can already use both MS Mincho (monospace) and MS PMincho (the P stands for Proportional) just fine. The problem is that I cannot make these fonts appear in different weights. (Or perhaps I've completely missed the point of your email

Re: Japanese fonts do not appear in desired weights

2003-12-02 Thread J.Pietschmann
Graham Hannington wrote: I can already use both MS Mincho (monospace) and MS PMincho (the P stands for Proportional) just fine. The problem is that I cannot make these fonts appear in different weights. (Or perhaps I've completely missed the point of your email?) FOP does not have an engine

RE: Japanese fonts do not appear in desired weights

2003-12-02 Thread Graham Hannington
FOP does not have an engine to create fonts with different weight a single typeface definition. Gotcha, thanks. I think this is what JPFOP, er, kludges (no disrespect intended to the developer). From the JPFOP site: renderInlineArea() method was modified. ... For Bold, the characters

RE: Japanese fonts do not appear in desired weights

2003-12-02 Thread Victor Mote
/index.html Yes, printing the glyph 4 times might be acceptable for printing, but not for searching or indexing. See also: http://www.adobe.com/type/browser/C/C_japanese.jhtml Also, keep in mind FOP's current limitations WRT fonts in general: http://xml.apache.org/fop/fonts.html Victor Mote

Japanese fonts do not appear in desired weights

2003-11-26 Thread Graham Hannington
I'm using FOP to produce English and Japanese PDFs. For English, I use Helvetica and the system monospace (Courier) fonts. For Japanese, I use MS PMincho and MS Gothic. In the English PDFs, the fonts appear at their desired weights (such as bold or normal). In the Japanese PDFs, the fonts

RE: Japanese fonts do not appear in desired weights

2003-11-26 Thread Andreas L. Delmelle
-Original Message- From: Graham Hannington I'm using FOP to produce English and Japanese PDFs. snip / In the Japanese PDFs, the fonts appear at a single weight. PMincho appears throughout in normal weight, Gothic appears throughout in bold weight. Weird. MS PMincho and MS Gothic

Re: Japanese fonts do not appear in desired weights

2003-11-26 Thread Chris Bowditch
Graham Hannington wrote: I'm using FOP to produce English and Japanese PDFs. For English, I use Helvetica and the system monospace (Courier) fonts. For Japanese, I use MS PMincho and MS Gothic. In the English PDFs, the fonts appear at their desired weights (such as bold or normal). In the Japanese

RE: Japanese fonts do not appear in desired weights

2003-11-26 Thread Graham Hannington
Andreas, Chris, Thanks very much for your responses. Andreas, When embedding fonts, a separate metrics file should be generated for bold, italic and bold-italic (that is, if you want them to work properly). Right now, your userconfig maps all combinations (normal, bold, italic, bold-italic

RE: Japanese fonts do not appear in desired weights

2003-11-26 Thread Andreas L. Delmelle
and bold-italic XML metrics files from a single .ttc? (This is assuming that the .ttc *does actually* contain the bold etc. glyphs, as per Chris's point, below.) If it does, it probably has a separate name for each series of glyphs for the different weights/styles (haven't used any embedded fonts

RE: Japanese fonts do not appear in desired weights

2003-11-26 Thread Graham Hannington
in: This is a TrueType collection file with2 fonts Containing the following fonts: MS Mincho MS PMincho java.io.IOException: Failed to read font at org.apache.fop.fonts.TTFFile.readFont(Unknown Source) at org.apache.fop.fonts.apps.TTFReader.loadTTF(Unknown Source

Re: Japanese fonts do not appear in desired weights

2003-11-26 Thread J.Pietschmann
Graham Hannington wrote: This is a TrueType collection file with2 fonts Containing the following fonts: MS Mincho MS PMincho This means you can only select MS Mincho and MS PMincho. Whatever the last one is. Generate the metrics, an appropriate userconfig and try it out: fo:block font-family='MS

How to embed fonts programatically?

2003-11-25 Thread Borut Bolcina
Hello list! I am wondering how to embed fonts in PDF generated with FOP? I know how to do it with command line -c userconfig.xml, which involves creating metrics files. How can I use those metrics in FOP java API? An example would be great. Bob

Re: How to embed fonts programatically?

2003-11-25 Thread Jeremias Maerki
Please read the manual at http://xml.apache.org/fop/embedding.html#config-external On 25.11.2003 13:36:26 Borut Bolcina wrote: I am wondering how to embed fonts in PDF generated with FOP? I know how to do it with command line -c userconfig.xml, which involves creating metrics files. How

Fonts embedded in PDF

2003-10-31 Thread Anuradha Sundararajan
Hello All, I have converted as XML-FO with SVG as foreign object to pdf using FOP. I have certain fonts in SVG which needs to be written and not drawn. To enable this, i have included a configuration file with the font metrics of the fonts included. The pdf that i have generated using

Re: Fonts embedded in PDF

2003-10-31 Thread J.Pietschmann
Anuradha Sundararajan wrote: I have converted as XML-FO with SVG as foreign object to pdf using FOP. I have certain fonts in SVG which needs to be written and not drawn. To enable this, i have included a configuration file with the font metrics of the fonts included. The pdf that i have

Re: Embedding FOP, PDF Encryption Custom fonts

2003-10-15 Thread J.Pietschmann
Johannes Stuermer wrote: Has there been any movement in this area? No. Encryption wount be fully implemented in the maintenance branch. Can this problem be avoided by using Adobe fonts? If you mean built-in, then yes, encryption works if you use one of the built-in default fonts (because

RE: Embedding FOP, PDF Encryption Custom fonts

2003-10-15 Thread Johannes Stuermer
, PDF Encryption Custom fonts Johannes Stuermer wrote: Has there been any movement in this area? No. Encryption wount be fully implemented in the maintenance branch. Can this problem be avoided by using Adobe fonts? If you mean built-in, then yes, encryption works if you use one of the built

Re: Embedding FOP, PDF Encryption Custom fonts

2003-10-15 Thread J.Pietschmann
Chris Bowditch wrote: The code in HEAD of CVS has PDF encryption fully implemented. However, it is lacking support for key FO constructs, and is currently unusable in real world scenarios. Testing and detailed new bug reports are welcome though. I just can't make promises anything gets fixed

  1   2   3   >