Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#1584 closed bug (fixed)

Fonts not encoded by PDF printer driver

Reported by: kev Owned by: laplace
Priority: normal Milestone: R1
Component: Printing Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: x86

Description

I've been using the font SGreek to write in the Greek alphabet. Unfortunately, printing a document with it from Gobe Productive or from StyledEdit comes out with the SGreek text in a normal Latin font rather than how it looks in the respective programs. The printer driver options have it set to encode the SGreek font, but it doesn't seem to do that.

Also I've ruled out it being an issue with BePDF because I tried looking at these PDFs under Windows and they look the same.

Kev

Attachments (7)

Sgreek.ttf (41.5 KB) - added by kev 11 years ago.
Sgreek TrueType font
gobegreek.pdf (1.2 KB) - added by kev 11 years ago.
PDF from Gobe Productive 2.0.1
wysinwyg (8.2 KB) - added by kev 11 years ago.
Screenshot of Greek as it appears in GP (same as in StyledEdit)
embed.png (39.1 KB) - added by kev 11 years ago.
Screenshot showing font embedding
embed2.png (42.3 KB) - added by kev 11 years ago.
Screenshot showing fonts actually embedded according to BePDF
segreek.pdf (1.5 KB) - added by kev 11 years ago.
StyledEdit-produced PDF
wysinwyg.png (1.9 KB) - added by kev 11 years ago.
PNG of other file so you can view it in Firefox (sorry)

Download all attachments as: .zip

Change History (15)

Changed 11 years ago by kev

Attachment: Sgreek.ttf added

Sgreek TrueType font

Changed 11 years ago by kev

Attachment: gobegreek.pdf added

PDF from Gobe Productive 2.0.1

Changed 11 years ago by kev

Attachment: wysinwyg added

Screenshot of Greek as it appears in GP (same as in StyledEdit)

Changed 11 years ago by kev

Attachment: embed.png added

Screenshot showing font embedding

Changed 11 years ago by kev

Attachment: embed2.png added

Screenshot showing fonts actually embedded according to BePDF

Changed 11 years ago by kev

Attachment: segreek.pdf added

StyledEdit-produced PDF

Changed 11 years ago by kev

Attachment: wysinwyg.png added

PNG of other file so you can view it in Firefox (sorry)

comment:1 Changed 11 years ago by kev

Also FWIW I've tried varying the compression (high-low) and compatibility settings (1.3, 1.4) and it doesn't seem to make any difference.

Kev

comment:2 Changed 11 years ago by laplace

Status: newassigned

Thank you for the bug report. From you observation it seems the changed settings are ignored. I will look into that when I have time.

comment:3 Changed 11 years ago by kev

Thanks, that'd be great. BTW, the version I'm using is the 2.0 Beta 1 on BeBits. If I'm able to use one from the build factory under R5.0.3 let me know, I'll try it (last time I did this, with networking, I broke my system a few times. ;) )

comment:4 Changed 11 years ago by laplace

Resolution: invalid
Status: assignedclosed

I have tested the version from SVN repository under Haiku and it seems to work fine. PDF files created from a sample text in StyledEdit using different setting have different file sizes, that's an indication that the settings are respected.

Therefore I have closed this bug as "invalid".

Maybe I have the time to build a new version for BeOS, but I cannot promise it.

comment:5 Changed 11 years ago by kev

Just to be clear, the bug I was having was with font embedding, I was just noting that the compression and compatibility settings didn't seem to make a difference. So, with the SVN version you can correctly output text in the SGreek font?

Thanks, Kev

comment:6 Changed 11 years ago by laplace

Resolution: invalid
Status: closedreopened

Oh, I had not tested it with that particular font. I have done this now and of course embedding does not work :-( Not sure yet what's the reason for that.

I have opened this ticket again.

comment:7 Changed 11 years ago by laplace

Resolution: fixed
Status: reopenedclosed

This font cannot be embedded due to licensing restrictions in the font file.

Now a more detailed error message is written to the status window. This closes the ticket.

comment:8 Changed 11 years ago by kev

Oh...oops, I didn't know this technology even existed! Sorry about that. Thanks for updating the error messages.

Note: See TracTickets for help on using tickets.