Font error

Jürgen Nicklisch-Franken jnf at
Sun Mar 29 18:09:41 EDT 2009

Hi Zachary
we have an odd problems with leksah/gtk2hs/gtk on Windows in the moment.
The bug is on the issue tracker here:

I think that it is the same problem that you have. Please could you:
1. Try the newest version of Leksah with darcs get
2. Report which graphic card your machine have and report it. (Maybe you
look if their is an updated driver for your card?)

The second problem should be easier to solve, as the module have to be
mentioned in the cabal file, either as exported or as other module. But
maybe their is a problem with the main module. I will look into this


> What does this mean when starting Leksah?
> (leksah.exe:2684): Pango-WARNING **: failed to create cairo scaled
> font, expect
> ugly output. the offending font is 'Monospace 9.9990234375'

> I'm using Windows XP.  The output doesn't look ugly as it warns me,
> except that I get lots of garbled text in the window, and the editor
> seems to get confused about which line is being edited.  It will
> shuffle around text in the editing pane and make it appear on
> seemingly random lines.  Especially when I highlight a block of text
> with the mouse, all the text gets all messed up.  However if I simply
> alt-tab out to a different window and then come back, the text is
> restored.  So it seems like just an issue of display, not necessarily
> that it's being corrupted internally.  
> Could the aforementioned font issue be causing this?  
> Also, I cannot get the module / source file browser to work.  I've
> created a new package then created a new source file.  I typed a
> simple program,
> module Main (main) where
> test :: Int →  Int
> test x = x
> main = do
>     test 4
> And no information about this appears anywhere in the browser.  Am I
> doing something wrong?  (Sorry, a bit new to Haskell)
> _______________________________________________
> Leksah mailing list
> Leksah at

More information about the Leksah mailing list