[open-beos-printing] PDF Writer
- From: philippe.houdoin@xxxxxxx
- To: open-beos-printing@xxxxxxxxxxxxx
- Date: Fri, 07 Dec 2001 16:49:47 +0100 (MET)
> The version I changed yesterday did not display umlaute
> correctly, was that the version (more or less) you sent me?
> Sorry, can't remember.
No, I was referring the first version (let's call it v2.1)
I sent to you two months ago (more or less), after you contact me
(or was it me? can't remember, too). It was the source of the v0.2 I've
published on BeBits, plus some fixes.
From these source, you then sent me back your firsts
code changes, etc etc.
Anyway...
> The version I changed encoded the characters in utf8,
> which AFAIK is not supported by PDFLib and the enconding
> for the font in the PDF file was set to "host", which
> I guess under BeOS is winansi.
Oh god! I was using convert_*TO*_utf8() ?!?
I though I was convert_from_utf8() into the font encoding before
passing text to PDFLib...
In fact, I don't understand what's the purpose of PDFlib "font encoding"
argument. "builtin", "host", etc, how this works?
> Do you know how the string is encoded that DrawString receives?
> Is it always utf8 or the encoding of the current font?
Always UTF8.
>>> Other issues:
>>> There seems to be a bug in the image drawing routine.
>>
>> Could you give details here=3F
>
> Not ATM have to analyze the problem first,
> but maybe you can reproduce it with Productive when
> you make a with color gradient filled polygon.
This morning I run some tests from GoBe Productive
with current PDF Writer.
GobeNewsletter sample doc have two gray gradient rectangles, which
printed via PDF Writer perfectly render under BePDF & Acrobat.
I do a quick document with some Bezier-shaped gradient area, which
works well too.
I must confess, I don't try out with polygons shape...
Philippe.
PS: thanks for fixing the place to set PDFlib "compatibility" parameter,
I don't see this...
- References:
- [open-beos-printing] Re: PnP Printers
- From: Ithamar R. Adema
Other related posts:
- » [open-beos-printing] PDF Writer
- » [open-beos-printing] Re: PDF Writer
- » [open-beos-printing] Re: PDF Writer
- » [open-beos-printing] PDF Writer
- [open-beos-printing] Re: PnP Printers
- From: Ithamar R. Adema