Fix font rendering in the Scintilla when using Cairo
commitb7e0ebfea100b0e9b26f7dcb8637b87f350e089a
authorColomban Wendling <ban@herbesfolles.org>
Mon, 4 Apr 2011 17:58:07 +0000 (4 17:58 +0000)
committerColomban Wendling <ban@herbesfolles.org>
Mon, 4 Apr 2011 17:58:07 +0000 (4 17:58 +0000)
tree7c69088dddec5840aa523451d2901e7fd9dfd230
parente3b2ea1617b204689c82902959c0473771f1216e
Fix font rendering in the Scintilla when using Cairo

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
scintilla/gtk/PlatGTK.cxx