Ticket #1584 (closed bug: fixed)

Opened 13 months ago

Last modified 13 months ago

Fonts not encoded by PDF printer driver

Reported by: kev Owned by: laplace
Priority: normal Milestone: R1
Component: Printing Version: R1 development
Cc: Blocked By:
Platform: x86 Blocking:

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

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

Change History

Changed 13 months ago by kev

Sgreek TrueType font

Changed 13 months ago by kev

PDF from Gobe Productive 2.0.1

Changed 13 months ago by kev

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

Changed 13 months ago by kev

Screenshot showing font embedding

Changed 13 months ago by kev

Screenshot showing fonts actually embedded according to BePDF

Changed 13 months ago by kev

StyledEdit-produced PDF

Changed 13 months ago by kev

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

Changed 13 months 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

Changed 13 months ago by laplace

  • status changed from new to assigned

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.

Changed 13 months 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. ;) )

Changed 13 months ago by laplace

  • status changed from assigned to closed
  • resolution set to invalid

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.

Changed 13 months 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

Changed 13 months ago by laplace

  • status changed from closed to reopened
  • resolution invalid deleted

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.

Changed 13 months ago by laplace

  • status changed from reopened to closed
  • resolution set to fixed

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.

Changed 13 months 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.