http://bugs.winehq.org/show_bug.cgi?id=29705
Bug #: 29705 Summary: RichView doesn't print italics Product: Wine Version: 1.3.37 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: sundoulos2@gmail.com Classification: Unclassified
Created attachment 38548 --> http://bugs.winehq.org/attachment.cgi?id=38548 unicode text file with italics
ActionTest (which uses RichView class) works fine using ANSI files/text. Not so with Unicode. If I copy Unicode text and paste it into ActionTest:
Text that is Italic shows properly in the text editor and print preview but prints out as normal rather than italics. All other text prints as shown in the preview.
ActionTest can be downloaded from: http://trichview.com/resources/actions/actiontest.zip
http://bugs.winehq.org/show_bug.cgi?id=29705
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://trichview.com/resour | |ces/actions/actiontest.zip
http://bugs.winehq.org/show_bug.cgi?id=29705
--- Comment #1 from sundoulos2@gmail.com 2012-01-27 16:37:58 CST --- Figured it out. I looked at the rvf file generated with unicode and then tracked it back from there. Apparently TRichView and whatever other libraries it uses don't know how to handle printing italic type when there's no italic ttf to go with the font. I was using Tahoma font, there's no "standard" italic form of the font like there is for Arial, Verdana, etc. (e.g. ariali.ttf, verdanai.ttf). As long as the ttf for italic text exists, TRichView can handle printing it ok in WINE.
http://bugs.winehq.org/show_bug.cgi?id=29705
--- Comment #2 from sundoulos2@gmail.com 2012-01-28 09:50:18 CST --- Further information:
If an italic style font actually exists (ariali.ttf, for example) that name gets assigned in TRichView. It then prints correctly whether in WinXP or WINE.
If there's no italic style font (as is standard for Tahoma) then TRichView uses the base font and assigns the italic style to it. That works fine for printing in WinXP; it also works from native linux apps, e.g. LibreOffice. It doesn't work in WINE.
Who's the culprit here? wineps.drv? Is it that wineps.drv requires an italic font like ariali.ttf or verdanai.ttf in order to print italics?
http://bugs.winehq.org/show_bug.cgi?id=29705
--- Comment #3 from Dmitry Timoshkov dmitry@baikal.ru 2012-01-28 23:34:35 CST --- Did you test it under Windows?
http://bugs.winehq.org/show_bug.cgi?id=29705
--- Comment #4 from sundoulos2@gmail.com 2012-01-29 11:51:01 CST --- Yes, that's how I know it works to use a base font with an applied style in WinXP. It was WinXP SP3 that I tested.
http://bugs.winehq.org/show_bug.cgi?id=29705
--- Comment #5 from sundoulos2@gmail.com 2012-01-30 12:43:21 CST --- I'm pretty sure the bug is somewhere in WINE since the same scenario but using "bold" instead of "italic" prints out correctly. True even when there's no bold font (arialbd.ttf, for example). If WINE can handle bold printing then it should do italics also.
http://bugs.winehq.org/show_bug.cgi?id=29705
Sagawa sagawa.aki+winebugs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sagawa.aki+winebugs@gmail.c | |om
https://bugs.winehq.org/show_bug.cgi?id=29705
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #6 from joaopa jeremielapuree@yahoo.fr --- Is still a bug in current wine(3.20)?