denemo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Denemo-devel] binreloc for mingw builds?


From: Jeremiah Benham
Subject: Re: [Denemo-devel] binreloc for mingw builds?
Date: Sat, 10 Jan 2015 23:06:15 -0600

I found documentation for AddFontResource here:
http://msdn.microsoft.com/en-us/library/windows/desktop/dd183326%28v=vs.85%29.aspx
I see it called in add_font_directory() and add_font_file()
I always see this error when launching denemo no matter if the fonts show up or not!:

Denemo - CRITICAL: Could not find feta.ttf
Denemo - CRITICAL: Could not find Denemo.ttf
Denemo - CRITICAL: Could not find emmentaler.ttf

I just created a patch in attempt to remedy the above. I will rebuild now and test it.

Jeremiah



On Sat, Jan 10, 2015 at 12:10 PM, Richard Shann <address@hidden> wrote:
On Fri, 2015-01-09 at 23:12 -0600, Jeremiah Benham wrote:
> I found that mingw build was already relocatable.
> http://denemo.org/~jjbenham/gub/uploads/denemo-1.2.0-win_rococ_test.zip
>
>
> I tested it in windows 7

I've tested it in Vista on a machine that previously had Denemo
installed, and it was able to find the fonts from the previous
installation (presumably in C:\Windows\Fonts)

Is there a standard install-a-font thing in windows? I don't know of
one, but I think if a user clicks on a font then windows might offer to
install it (???)
Is there a private-to-the-user font thing on windows? There is the code

#ifdef G_OS_WIN32
  AddFontResource (fontpath);
#endif
which is in utils.c does this set fontpath to the USB memory stick if
that is where the binary is?



Richard




reply via email to

[Prev in Thread] Current Thread [Next in Thread]