[PATCH] GDI32: accept TTF-fonts without OS2 table

Wolfgang Walter wine at stwm.de
Fri Nov 9 17:11:45 CST 2018


Hello Nikolay!

On Friday, 9 November 2018 18:45:50 CET you wrote:
> On 11/9/18 4:24 PM, Wolfgang Walter wrote:
> > Signed-off-by: Wolfgang Walter <wine at stwm.de>
> > ---
> > 
> > fonst partially embedded in PDFs often do not contain an OS2 table.
> > Wine did not accept these fonts and uses another fonts as replacement
> > This leads often to completely unreadable documents as the glyp index does
> > not match the one of the choosen replacement font.
> > 
> > This patch accepts such fonts and inserts checks where wine assumed
> > that the OS2 table does exist.
> > 
> > Regards,
> 
> Hi, Wolfgang.
> 
> Thanks for the patch. Could you also open a bug report with a sample PDF
> and viewer application that you're fixing?
> 
> I'm interested in adding some tests for that case, for directwrite too.

Sorry, I can't do that: the software is proprietary and I therefor cannot 
upload it. It is an ERP-software with an integrated PDF-viewer. This software 
is used by most of Germany's Studentenwerke.

I also can't provide the PDFs though I have > 100000 of them. They all contain 
personal data as they are confirmations of enrollment of the Technical 
University of Munich. I'll see if I can get one from the University generated 
from fake data but I don't know if they will do that for me.

Regards,
-- 
Wolfgang Walter
Studentenwerk München
Anstalt des öffentlichen Recht






More information about the wine-devel mailing list