This fixes drawing on a surface that has different settings (like
scaling) than the display surface, by performing the measurements on a
layout properly set up for the target surface.
In practice, this fixes e.g. printing on a scaled surface.
(Applied to Scintilla HG as 74c71632dd1afa726b0f1608d13413e0864da9b0)
Always get the Pango context through GTK+ API rather than creating it
from a Cairo context to always get a context set up for the screen.
This fixes font size issues when using Cairo rendering.
Patch imported from upstream Mercurial (3596/070c7eb483bf).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5690 ea778897-0a13-0410-b9d1-a72fbfd435f5
Keep Scintilla's directory structure mostly and only remove unused lexers.
For now, this will break the build. The build systems have to be updated as well as scintilla_changes.patch.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5437 ea778897-0a13-0410-b9d1-a72fbfd435f5