denemo-devel
[Top][All Lists]
Advanced

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

Re: [Denemo-devel] 2nd Feb installer build for windows


From: Jeremiah Benham
Subject: Re: [Denemo-devel] 2nd Feb installer build for windows
Date: Wed, 3 Feb 2016 12:16:21 -0600

I have just edited the .nsi file and rebuilt the mingw.

Jeremiah

On Feb 3, 2016 9:52 AM, "Richard Shann" <address@hidden> wrote:
On Tue, 2016-02-02 at 10:39 -0600, Jeremiah Benham wrote:
>
>
> On Tue, Feb 2, 2016 at 6:21 AM, rshann <address@hidden> wrote:
>         I've tested last night's installer for windows, giving it a
>         full test by removing the fonts installed by previous
>         versions.
>         The feta and emmentaler fonts weren't installed - so no treble
>         clef or note heads.
>         I also checked the zip version and that is fine, I tested the
>         fix for accented characters in simple titles and that is
>         working.
>
>         Jeremiah - does the build for mingw include some lines
>         introduced when we were last trying to fix font problems? I
>         seem to remember noticing that the file name
>         was altered by windows and thought that might be a problem and
>         suggested trying something...
>
>
>
> I thought we fixed this. Maybe it is the .nsi file. We have made some
> changes to that last release I believe. I see that denemo is
> installing it on gub:
>
> ../../target/mingw/installer/denemo-git.savannah.gnu.org--denemo.git-master/usr/share/fonts/truetype/denemo/feta.ttf
> ../../target/mingw/installer/denemo-git.savannah.gnu.org--denemo.git-master/usr/share/fonts/truetype/denemo/emmentaler.ttf
> ../../target/mingw/installer/denemo-git.savannah.gnu.org--denemo.git-master/usr/share/fonts/truetype/denemo/Denemo.ttf
> ../../target/mingw/installer/denemo-git.savannah.gnu.org--denemo.git-master/usr/share/ghostscript/9.15/Resource/CIDFSubst/DroidSansFallback.ttf
>
>
> Here is the denemo.nsi file that is being used:
> http://denemo.org/~jjbenham/gub/nsis/denemo.nsi
>
>
looking in that file I see

Function postinstall_denemo
        CopyFiles /silent "$INSTDIR\usr\share\fonts\truetype\denemo\Denemo.ttf" "$WINDIR\Fonts\Denemo.ttf"
        StrCpy $FONT_DIR "$WINDIR\Fonts"
        !insertmacro InstallTTFFont "${ROOT}\usr\share\fonts\truetype\denemo\Denemo.ttf"
        ClearErrors
FunctionEnd


on the face of it this should not just mention Denemo.ttf but the two
LilyPond fonts, which are the ones that are missing. Though what StrCpy
is doing I'm not sure. So we could try:


Function postinstall_denemo
        CopyFiles /silent "$INSTDIR\usr\share\fonts\truetype\denemo\Denemo.ttf" "$WINDIR\Fonts\Denemo.ttf"
        CopyFiles /silent "$INSTDIR\usr\share\fonts\truetype\denemo\feta.ttf" "$WINDIR\Fonts\feta.ttf"
        CopyFiles /silent "$INSTDIR\usr\share\fonts\truetype\denemo\emmentaler.ttf" "$WINDIR\Fonts\emmentaler.ttf"
        StrCpy $FONT_DIR "$WINDIR\Fonts"
        !insertmacro InstallTTFFont "${ROOT}\usr\share\fonts\truetype\denemo\Denemo.ttf"
        !insertmacro InstallTTFFont "${ROOT}\usr\share\fonts\truetype\denemo\feta.ttf"
        !insertmacro InstallTTFFont "${ROOT}\usr\share\fonts\truetype\denemo\emmentaler.ttf"
        ClearErrors
FunctionEnd


Richard



reply via email to

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