https://bugs.winehq.org/show_bug.cgi?id=55852
Bernhard Übelacker bernhardu@mailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bernhardu@mailbox.org
--- Comment #5 from Bernhard Übelacker bernhardu@mailbox.org --- I could reproduce the issue with notepad with the following steps: - Create fresh wineprefix - Start notepad once, enter some text, print to the cups PDF printer. This creates a PDF with the entered text and the page footer. - Close notepad. This stores a value iPointSize=0x5a to the registry. - Start notepad a second time. This reads the iPointSize=0x5a from registry. Unfortunately the main window is not yet created, therefore GetDpiForWindow returns 0, which makes Globals.lfFont.lfHeight being 0 too. - Entering some text now and printing to the cups PDF printer produces now just a PDF containing one empty page.
For this issue I created this MR: https://gitlab.winehq.org/wine/wine/-/merge_requests/4442
But this should not affect other "custom applications", except if they query the notepad configuration.