[QScintilla] QScintilla and Courier New on Linux with Infinality

Phil Thompson phil at riverbankcomputing.com
Mon Mar 30 12:37:09 BST 2015


On 26/03/2015 8:58 pm, Craig Kelly wrote:
> Greetings,
> 
> Hopefully I'm using the correct mailing list :)
> 
> I believe I might have found an issue with QScintilla under Qt5 on 
> Linux
> systems. When displaying Courier New, the line height appears to be too
> low, so the text is being cut off on every line.
> 
> I'm seeing it with Gnome on Debian Testing, but others have reported a
> similar issue on other distros. I first noticed this as I was one of 
> the
> people affected by a product (Robomongo) using QScintilla. You can see
> various people having this issue at
> https://github.com/paralect/robomongo/issues/649, which includes a
> screenshot. The Infinality patches (which I have) appear to be a common
> denominator, but I'm not sure that's 100%.
> 
> There is a repro script below my sig - on my computer running
> 
> python3 demo.py "Courier New"
> 
> Shows the issue, but a different monospaced font is fine. For instance,
> 
> python3 demo.py "Andale Mono"
> 
> works just fine
> 
> Thanks so much for any help you can provide,
> Craig

Works fine for me on a regular Kubuntu system.

Phil


More information about the QScintilla mailing list