[MonoDevelop] osx Lucida Grade warning: a typo?

Michael Hutchinson m.j.hutchinson at gmail.com
Sun Nov 30 00:33:09 EST 2008


On Sat, Nov 29, 2008 at 9:49 PM, Bart Masschelein <masschel at gmail.com> wrote:
>>> Selecting text in osx is not correct, in that the cursor always is
>>> slightly off when clicking with the mouse. The farther to the right in
>>> the line, the more off the cursor is. Could the following warning be
>>> related to this issue:
>>>
>>> Pango-Warning: couldn't load font "Lucida Grade Not-Rotated 14",
>>> falling back to "Sans Not-Rotated 14", expect ugly output.
>>>
>>> When I google for Lucida Grade, it does not give me any results, but
>>> Lucida Grande does (http://en.wikipedia.org/wiki/Lucida_Grande), which
>>> is apparently a Mac OS specific font. Could this be a typo? And is it
>>> coming from MonoDevelop, or is it a Pango issue?
>>
>> It appears to be a typo in the Mac addin:
>>
>>
>> http://anonsvn.mono-project.com/viewvc/trunk/monodevelop/main/src/addins/MacPlatform/MacPlatform.cs?view=markup
>>
>> However, the selection problem is a separate issue. Could you file a bug
>> report?
>
> Ok, no problem, but before I do that maybe it is worth mentioning the
> following, in case it matters.
>
> I have all the dependencies required to compile/install MD installed through
> MacPorts (as described in http://www.naiznoiz.share-a-book.com/?p=27), but I
> did not install the gtksourceview package(s), as MD seems to run without it.
> Until a while ago, MD reported that this package was not installed during
> the configuration step, but recently this does not happen anymore, so I
> assume it is not a requirement. Is this true? Could this be related?

Yes, we replaced GtkSourceView with a new, fully managed text editor,
so this is a bug in the new implementation. It's probably Mac-specific
or font-specific.

> Thanks for pointing the location of the file with the typo. I changed this
> in my local checkout, and the warning is gone. But indeed, it does not solve
> the selection problem. So if the above is unrelated as well, I'll file a bug
> report.
>
> FYI, I thought that maybe the cause was that Lucida Grande is not a
> monospace font (I'm not a font expert, but I guess I'm right), so I changed
> to Courier New, in the preferences, and the problem remains as well.

Thanks. Can you suggest the best default monospace font for a Mac too?

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list