Krzysztof Kowalczyk

Results 321 comments of Krzysztof Kowalczyk

https://theartofdev.com/2012/12/13/international-keyboard-layout-handling/ https://learn.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes?redirectedfrom=MSDN https://www.autohotkey.com/boards/viewtopic.php?t=91162 ``` HKL kl = GetKeyboardLayout(0); SHORT key = VkKeyScanExA(c, kl); accel.key = key; ```

hopefully fixed by https://github.com/sumatrapdfreader/sumatrapdf/issues/4322

There are 2 ways to do printing. One is to send the printer commands like "print text 'foo' at position x, y". Another is to render to a bitmap and...

Not sure if that's what you see but I got the following to reproduce: * open pdf, `Ctrl + 8`, zoom really big, scroll right so that only second page...

Pretty sure the problem is: `newPt.x += viewPort.x;` in `DisplayModel::SetScrollState`. It doesn't take into account 2-page layout. Should subtract the width of previous page.

I would rather add it to Sumatra via commands, but you would have to explain what and why. We already have `CmdNavigateBack` and `CmdNavigateForward`. I could e.g. add `CmdNavigateMark` or...

The file is no longer available.

I can repro this with PDF printer: it actually prints the current page regardless of which page number I enter for custom page range.

Oh well, not sure if there's a solution other then finally writing my own fully custom printing dialog. Then one in win11 22H2 is incredibly shitty and only supports entering...

Can you show the screenshots of print dialog after entering the values? It's hard to believe but it looks like the print dialog in win 11 doesn't pass this information...