RE: font-file.xsl

2003-07-05 Thread Tore Engvig
I don't think t1font-file.xsl and ttffontfile.xsl are in use any more. The first version of font embedding worked just as the creation of the 14 standard fonts: You had to create a metric file, and then use t1font-file.xsl or ttffontfile.xsl to create a java source file containing the metrics (I t

Re: Fix (not Patch) to changes on 26 July that broke Embedded Fontlayout

2001-08-03 Thread Tore Engvig
You're quite right, the characters was mapped twice. I removed the boolean doMap argument to getWordWidth because it's not used anymore. Then we don't need the getMappedCharWidth/getCharWidth distinction. Thanks Tore On Wed, 1 Aug 2001, Struan Judd wrote: > I've tracked down the reason for

Re: embedding fonts using xml-font-files and userconf.xml

2001-08-13 Thread Tore Engvig
On Mon, 13 Aug 2001, Matthias Born wrote: > hi! > > i've got problems embedding fonts. [snip] > i configured the userconfig in the conf-directory in the following way: > > > > > > [snip] > WARNING: unknown font Zurich,n

Re: Why some fonts in FontSetup but not others?

2001-08-13 Thread Tore Engvig
On Mon, 13 Aug 2001, Randall Parker wrote: > Keiron, > > Which version of Acrobat are you using as the guide to which fonts are always >available? I'm looking ath the directory tree for my full > Acrobat 4.0 install and and seeing a bunch of TTF files. Then in a separate >directory I did sear

Re: AW: embedding fonts using xml-font-files and userconf.xml

2001-08-13 Thread Tore Engvig
Hehe, it would've been to easy if it was only a typo :) It really don't have any other suggestions except using absolute urls/paths in userconfig.xml, like: Tore On Mon, 13 Aug 2001, Matthias Born wrote: > ups! > > thanks and sorry! > it was a mistake in the mail. > > >> > > >

Re: Help me

2001-08-16 Thread Tore Engvig
On Wed, 15 Aug 2001, [gb2312] xi chen wrote: > hi,dear Mr/Mrs, >I met a question about registering fonts in FOP > 0.17.0 DEV. in the > apache website about Fop,it said i can register the > fonts wiht FOP > like this: > ** Hi xi, I recomm

RE: pdf security

2001-08-20 Thread Tore Engvig
On Sun, 19 Aug 2001, Ralph Bruno wrote: > Thanks for these suggestions,. I think I've narrowed down the problem to > font-embedding. [SNIP] > Has anyone else successfully converted a FOP pdf to rtf containing embedded > fonts? Could the problem be in the metrics creation? Or is it possible to

Re: Fonts and reporting classes

2001-08-20 Thread Tore Engvig
On Fri, 17 Aug 2001, Spectron Caribe, Inc. wrote: > Ok, thanks for the info. One more thing and I'll leave you guys alone. :) > > I think that java.awt.Font has almost all the information needed to create a > /FontDescriptor. Would it be posible to create an XML file using a > java.awt.Font cla

Re: Ideas about PDFGraphics2D font handling for True Type to Type1

2001-08-20 Thread Tore Engvig
I'm not sure that you always can assume that java fonts are the same as your system fonts, and I don't think you should map Arial to Helvetica. If I remember correctly, Helvetica is a nice font, but Arial looks more like... ugly. Also Arial exists in dozens of different versions, that goes for ot

Re: Embedding fonts

2001-08-29 Thread Tore Engvig
On Wed, 29 Aug 2001, Drew Hodge wrote: > I have successfully created new XML font metrics files using the PFMReader utility >in FOP 0.20.1. I run FOP specifying the new fonts in my userconfig file as follows > > > embed-file="C:\WINNT\Fonts\Sxr_.pfm"> > > > > The resulting PDF correc

Re: Continued on Page ...

2001-09-20 Thread Tore Engvig
On Thu, 20 Sep 2001 [EMAIL PROTECTED] wrote: > > Does any one know how I can generate a "Continued on Page 2" message on the > bottom of Page 1 and so on throughout a document. I have looked at > markers, but can't see how I can use them for this. I don't know if it's a solution to that probl

Re: FO and Sockets. (

2001-09-26 Thread Tore Engvig
On Wed, 26 Sep 2001, Hinrich.Boog wrote: > > > I would post it to some other mailing list, if it wasn't about the Fop-Renderer. How >can I > check how and if the Renderer flushes the result to my output Stream ? I was >wondering if > anyone has used it in those combinations I don't know abou

RE: Alternative to SVG

2001-10-30 Thread Tore Engvig
If I were you, I think I would investigate conversion to svg further. pstoedit (www.pstoedit.net) has a shareware plugin for convertion .eps to svg, but I don't know how good it is. There might exist other packages that do the same (let me know if you find any!). Also the newest Adobe Illustrator

RE: inculde image

2001-11-15 Thread Tore Engvig
Title: RE: inculde image   -Original Message-From: Clute, Andrew [mailto:[EMAIL PROTECTED]]Sent: Wednesday, November 14, 2001 20:09To: '[EMAIL PROTECTED] 'Subject: RE: inculde image  What is making your image dynamic? When you mean dynamic, do you mean the URI to the ima

RE: inculde image

2001-11-15 Thread Tore Engvig
Embedded png image       Tore   Thanks !  - Original Message ----- From: Tore Engvig To: [EMAIL PROTECTED] Sent: Thursday, November 15, 2001 10:08 AM Subject: RE: inculde image   -Original Message-From: Clute, Andre

Support for ICC profiles and CMYK jpeg

2001-11-16 Thread Tore Engvig
I've just added support for ICC profiles and CMYK jpeg's. Source code, a prebuilt jop.jar and a test pdf can be found at http://vaggen.net/~tengvig/fop/ Caveat: PhotoShop generates inverted cmyk jpegs. I've added a decode matrix in PDFXObject to deal with it. Thus PhotoShop generated cmyk jpeg's

RE: Question about colour

2001-11-19 Thread Tore Engvig
> -Original Message- > From: Peter B. West [mailto:[EMAIL PROTECTED]] > I have some questions about the handling of colour which I will ask of > the list generally, although I noticed Tore's recent colour related > contributions, so he may be the one to enlighten me. > > Color (to use t

RE: Support for ICC profiles and CMYK jpeg

2001-11-20 Thread Tore Engvig
> -Original Message- > From: Thomas [mailto:[EMAIL PROTECTED]] > Sent: Saturday, January 18, 1997 20:47 > To: [EMAIL PROTECTED] > Subject: Re: Support for ICC profiles and CMYK jpeg > [SNIP] > > hallo, > > i have added your support to fop, and it works for cmyk-pictures from > photoshop

RE: Support for ICC profiles and CMYK jpeg

2001-11-21 Thread Tore Engvig
ifferent colorspace-number, in > java-jpeg > the cmyk-images have the colorspace-nr: 4 and in photoshop the number 7. > but it make no change when i save the jpeg with the number 7, so > there must > something else. > > thanks. > thomas kübler > > > - Original

RE: FOP conformance

2001-12-02 Thread Tore Engvig
Christian Geisert wrote: [SNIP] > I think too we should do a maintenance release (from 'fop-0_20_2-maintain' > branch). > > I volunteer to do the necessary patches, do some testing etc. I just checked in some patches that's been floating around into the fop-0_20_2-maintain branch: * Raymond Pe

RE: [PATCH] update FOP (maintenance branch) to REC syntax

2001-12-06 Thread Tore Engvig
Thanks! I added the patch to cvs. Tore > Hi, > > I finally managed to update FOP to REC syntax.. > > According to the documented changes at: > > http://www.w3.org/TR/2001/REC-xsl-20011015/sliceF.html#changes > http://www.w3.org/TR/2001/PR-xsl-20010828/sliceF.html#changes > > the biggest thing

RE: [PATCH] Proper use of font encodings for "native" fonts

2001-12-09 Thread Tore Engvig
Ok, I've added the LineArea remainingWidth patch and the euro metric patches to fop-0_20_2-maintain. I wait to commit Peter's patch until the issues mentioned by Rainer is fixed. I also added a batik.jar based on the 1.1 distribution. I've only tested it with the documents in docs\examples\svg.

RE: [PATCH] update test dir to REC syntax (maintenance branch)

2001-12-10 Thread Tore Engvig
Christian Geisert wrote: > Doh, forgot the attachment... Ok, it's added to the maintain branch now. Tore > > this patch updates the 'test' dir to REC syntax. > (just changed master-name to master-reference on page-sequences) > > I had some problems with strange line endings but I hope it i

RE: [PATCH] text-decoration for blocks (maintenance branch)

2001-12-13 Thread Tore Engvig
Christian Geisert wrote: > Hi, > > this patch adds text-decoration support for blocks. There still > some things > I want to do (like inherit text-decoration from a parent inline, > problems with > hyphenation and  ). Actually I think fop supports   (more or less). Also nonbreaking nbsp and so

RE: PostScript in pdf

2002-01-14 Thread Tore Engvig
> Hi > Is it possible to insert > postscript commands to pdf created from Fop? Not really, but I think I might have a workaround. In the cvs version (the fop0.20.2 maintain version), it's possible to insert eps images. The eps image is passed as is to postscript printers (thus eps only works whe

RE: Euro sign

2002-01-18 Thread Tore Engvig
> Why do I see a bullet instead of a euro sign (EUR), when I simply > "compile" the fonts.fo file found in the Fop-0.20-2 distribution > (./docs/examples/fo)? > > I am on Windows NT 2000 Professional, all my standard fonts have thus a > euro sign (me thinks). If you use embedded fonts, this shoul

RE: [VOTE] Re: Who does this stuff? and Christian

2002-01-23 Thread Tore Engvig
> > I was thinking about this, because after seeing a long stream of > > contributions from Christian over the past several weeks, it > occurred to me > > that if he is not already a committer, he should probably be > one. Maybe I > > missed it, but I do not recall a vote on this or anything - but

RE: Embed high quality printable images in PDF with FOP?

2002-01-24 Thread Tore Engvig
> I'm sure this has been discussed before, but I would like to know > whether FOP can embed images at full resolution and with no additional > compression into PDF. Yes and no. I don't think you can remove additional compression without changing code in fop, but it shouldn't matter as the compre

RE: Embbeding external user fonts ( like Arial )

2002-02-18 Thread Tore Engvig
[SNIP] > > while processing the site there was an error. a font has a wrong value for > CMap/Encoding. > > anybody knows why this error appears in acrobat reader ? This is most probably because of a bug i Acrobat reader 4.0. This bug is fixed in Acrobat 4.05a (or 4.05c). If I remember correctly,

RE: [Vote] New committers: Peter West, Joerg Pietschmann?

2002-04-12 Thread Tore Engvig
> -Original Message- > From: Keiron Liddle [mailto:[EMAIL PROTECTED]] > Sent: Thursday, April 11, 2002 12:16 > To: [EMAIL PROTECTED] > Subject: [Vote] New committers: Peter West, Joerg Pietschmann? > > > > I propose that we offer Peter West and Joerg Pietschmann to become > committers

RE: Background information about using unicode characters

2002-11-27 Thread Tore Engvig
[EMAIL PROTECTED] wrote: > Hi, > > I'm using fop 0.20.4 with jdk 1.4 and would like to get some background > information about how fop embedds unicode character from a true > type font which > is not one of the 14 PDF Standard Fonts. I used "Arial Unicode Ms.ttf" to > embed some asien characters

RE: FOP 0.19-CVS tested with russian

2001-05-29 Thread Tore Engvig
Sorry for taking so long to answer, but I've not had the opportunity until now. -Original Message- From: Alex V. Alishevskikh [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 26, 2001 07:28 To: [EMAIL PROTECTED] Subject: FOP 0.19-CVS tested with russian *snip* But there is still proble

RE: problem with embedding TTF font

2001-05-29 Thread Tore Engvig
Are you able to use this font with other applications? I tried to open it is MS Volt and Volt crashed when i tried to view some glyphs. This error indicates that some composite glyphs have wrong offsets, it *could* of course be a bug in TTFSubSetFile (it should not generate a null pointer excepti

RE: Comprehensive testing with TTF

2001-05-29 Thread Tore Engvig
Thanks for the comprehensive testing! I guess we could add bug no 1618 (page-number-citation) to this. The errors with TrueType fonts occurs because the characters are not from unicode to the font encoding (or cid) for page-number-citation etc, this is only done in the LineArea class. I think I sh

RE: Problems with unicode chars

2001-05-29 Thread Tore Engvig
The # is displayed when the character is missing in the font. # indicates that you use winansi encoding (eg start TTFReader with the -enc ansi option). Then you're restricted to the characters in the winansi encoding. To use special characters you will have to use cid encoding. Tore -Origi

Re: How Can I add a Korean Font?

2001-06-05 Thread Tore Engvig
On Tue, 5 Jun 2001, Youngho Cho wrote: > HI, > I would like to add Korean HYGoThic-Medium-Acro Font which is supplied from Adobe. > > How Can I add this font for FOP ? I think that is a Type 0 postscript font which fop doesn't support. > Also I trying to add Korean True Type Font GULIM.TTC ,

Re: TTF and hyphenation

2001-06-05 Thread Tore Engvig
On Tue, 5 Jun 2001, Marc Jenzer wrote: > Hallo > > If I use an imported font (like Arial), the hyphenation functionality of fop > doesn't work. Exists for this problem a patch or a workaround? This is fixed in the latest cvs version. Tore > > Thanks > > Marc > > --

Re: fox:label

2001-06-11 Thread Tore Engvig
On Mon, 11 Jun 2001, Petr Zeman wrote: > Hi, > > I use the XLM/XSL/FOP technology for automatic generating 'yearbook' from >database. > > Does somebody know how to change font (font-family) in object from >fox:namespace? It's not possible. > Can I use another way to create book

Re: [PATCH] Not all glyph is loaded when two or more char aremapped to one glyph

2001-07-17 Thread Tore Engvig
Thanks for the patch! I just added it to cvs. Tore On Thu, 12 Jul 2001, SASAKI Suguru wrote: > > Hi, fop-team. > > Current org.apache.fop.fonts.TTFFile dosen't load all glyph data > when two or more character is mapped to one glyph. > (In fact, Bitstream Cybetbit font has mapped many characte

Re: leader bug and here is a patch

2001-07-17 Thread Tore Engvig
Sorry for not looking at your patch until now, but I've been on vacation (a couple of weeks with the cellular turned off and no email access can actually be quite satisfying!). The mapping from char to glyph is moved to the PDFRenderer, so there should be no need to map the chars again (only for

Re: Code Style, was Re: PDF serialization

2001-07-17 Thread Tore Engvig
On Tue, 17 Jul 2001, Arved Sandstrom wrote: > We should, in theory, be able to use the cvswrappers mechanism (or module > options) to run a style tool on a file when it is committed (or in a number > of other cases). I can investigate this. I'd suggest that we divvy up the > existing code, and

Re: Code Style, was Re: PDF serialization

2001-07-18 Thread Tore Engvig
On Tue, 17 Jul 2001, Arved Sandstrom wrote: > Hi, Tore > > Well, how about _you_ set the day, since you're the volunteer? :-) Sure. Monday the 23rd evening (GMT) is codeformatting day unless somebody protests. Everyone who have some uncomitted code should commit it by then as the diffs in you

Re: Code Style, was Re: PDF serialization

2001-07-19 Thread Tore Engvig
On Thu, 19 Jul 2001, Mark Lillywhite wrote: > >Sure. Monday the 23rd evening (GMT) is codeformatting day unless somebody > >protests. > > > Would it be possible to wait for a day or two before setting a firm > date? I hope to have my pipelining stuff completed today and I would > like to at lea

Re: Barcode fonts.. was Re: userconfig in AIX.

2001-07-19 Thread Tore Engvig
On Thu, 19 Jul 2001, David Ryan wrote: [SNIP] > The PDF was rendered with no warnings or errors. However when I tried > viewing it in Adobe Acrobe 3.01, I got an error. > > "A font contains a bad CMap Encoding" Unfortunately you have to use Acrobat 4 when embedding truetype fonts. Font embedd

Re: Unknown characters!

2001-07-19 Thread Tore Engvig
On Thu, 19 Jul 2001, Klosa Uwe wrote: > Hi, > > I'm using an embedded ttf-font to show create my pdf-files. But there are a > few characters, which are unkown in this font. But i found them in the > symbol and zapfdingbats font. How can i map these characters to these two > fonts? Is there a fi

Re: Bug fix for non ASCII environments

2001-07-23 Thread Tore Engvig
To answer your questions: Yes, there are unicode pdf files. Fop can generate pdf files for non iso 8859 encodings if you provide fonts that support it. However, the generated pdf isn't unicode but multibyte indexes to the fonts glyphs. It will be unicode as soon as the toUnicode CMAP is implemen

Re: [Patch] bug 2243 - extra space at the beginning of next lineafter line feed

2001-07-23 Thread Tore Engvig
On Mon, 23 Jul 2001, Rainer Garus wrote: > Is it possible to insert and commit the patch sended on 2001-06-28 to CVS? Had completely forgooten about your patch! Your reminder came just in time - I'm working on the LineArea class right now. I'm trying to add better support for spaces (there's a

Re: [Patch] bug 2243 - extra space at the beginning of next lineafter line feed

2001-07-24 Thread Tore Engvig
thod in FOText called "willCreateArea()" which is used by > the widow/orphan code in Block. Then in LineArea there is more code to > see what to do with spaces, which is more complicated. I'm not > necessarily asking you to try to fix the bug I mentioned, but thought > you

Re: FOP - servlet - barcode font

2001-07-27 Thread Tore Engvig
On Thu, 26 Jul 2001 [EMAIL PROTECTED] wrote: [snip] > I have 3 trouble areas regarding importing/using fonts with FOP 0.19.0-CVS. > I figured it was most straight forward to test this stuff via the > command-line xface first, then add it to my servlet. > > 1) For Type 1 font, font metric xml fi

Codeformatting finished

2001-07-30 Thread Tore Engvig
I just finished codeformatting and also changed all .java files to use the short license. Unfortunately the size of the diff was so huge that ezml freaked out and the diff was not posted to fop-cvs... The repository was tagged with PRE_CODEFORMATTING just before formatting the code, so if it for

Re: Codeformatting finished

2001-07-31 Thread Tore Engvig
On Mon, 30 Jul 2001, Arved Sandstrom wrote: > I see in ViewCVS that everything looks OK, and I managed to 'cvs update' one > file as a test, but I can't 'cvs checkout' at the moment. Anyone else having > this problem? Nope, I checked out just now. [snip] > If I can figure out exactly what it

Re: Codeformatting finished

2001-08-01 Thread Tore Engvig
On Wed, 1 Aug 2001 [EMAIL PROTECTED] wrote: > > Hi. > > Good, but some typo and other files suffer from same un-escaped > problem. Attached patch will fix typos and other files. Thanks, I commited your patch. I'll do a thorough check for unicode escapes tomorrow and will also take a look at St