Re: Question for Windows users

2023-04-02 Thread Jean Abou Samra
Many thanks to Gilles, Mark, and also Arne Peters who replied
off-list, that gives me the needed info.



signature.asc
Description: This is a digitally signed message part


Re: Question for Windows users

2023-04-02 Thread Mark Mathias
On Sun, Apr 2, 2023 at 4:08 AM Ya Gloops  wrote:

> Hello Jean !
> For me a,b,c,d work perfectly...
> Gilles
>
>
>
>
>
>
> Le dimanche 2 avril 2023 à 01:45:35 UTC+2, Jean Abou Samra <
> j...@abou-samra.fr> a écrit :
>
>
>
>
>
> Hi,
>
> A little question for Windows users: could one of you please
> do the following test and report back?
>
> 1. Choose any font that is NOT installed on your system.
>   Random choice: https://www.fontsquirrel.com/fonts/alex-brush
>   It's very recognizable, so it'll be easy to tell if the
>   font is being properly used. I will assume you use this
>   font (“AlexBrush”) in the following.
>
> 2. Create a .ly file in some directory on your computer. Put
>   the font .otf/.ttf file(s) in that directory.
>
> 3. Add this code to the .ly file and compile it:
>
>
>   \version "2.24.1"
>   #(ly:font-config-add-directory "C:/path/to/directory")
>   \markup \override #'(font-name . "AlexBrush") "ABCD"
>
>
>   where "C:/path/to/directory" is the path to the directory
>   you put the .ly file and the font in, with 4 different
>   variants. Please test all 4 and let me know which work
>   and which don't.
>
>   a) Slashes in the path and a slash at the end:
>   C:/path/to/directory/
>   b) Slashes in the path and no slash at the end:
>   C:/path/to/directory
>   c) Double backslashes in the path and a double backslash at the end:
>   C:\\path\\to\\directory\\
>   d) Double backslashes in the path and no double backslash at the end:
>   C:\\path\\to\\directory
>
>
>
> Thanks in advance.
>
>
> Jean
>
>
>
Jean,

I know you only asked for one test, but it works for me also. One caveat: I
accidentally put the font in a different directory than the .ly file, but
of course, typed the correct path to the font.

Mark


Re: Question for Windows users

2023-04-02 Thread Ya Gloops
Hello Jean !
For me a,b,c,d work perfectly...
Gilles






Le dimanche 2 avril 2023 à 01:45:35 UTC+2, Jean Abou Samra  
a écrit : 





Hi,

A little question for Windows users: could one of you please
do the following test and report back?

1. Choose any font that is NOT installed on your system.
  Random choice: https://www.fontsquirrel.com/fonts/alex-brush
  It's very recognizable, so it'll be easy to tell if the
  font is being properly used. I will assume you use this
  font (“AlexBrush”) in the following.

2. Create a .ly file in some directory on your computer. Put
  the font .otf/.ttf file(s) in that directory.

3. Add this code to the .ly file and compile it:


  \version "2.24.1"
  #(ly:font-config-add-directory "C:/path/to/directory")
  \markup \override #'(font-name . "AlexBrush") "ABCD"


  where "C:/path/to/directory" is the path to the directory
  you put the .ly file and the font in, with 4 different
  variants. Please test all 4 and let me know which work
  and which don't.

  a) Slashes in the path and a slash at the end:
      C:/path/to/directory/
  b) Slashes in the path and no slash at the end:
      C:/path/to/directory
  c) Double backslashes in the path and a double backslash at the end:
      C:\\path\\to\\directory\\
  d) Double backslashes in the path and no double backslash at the end:
      C:\\path\\to\\directory



Thanks in advance.


Jean




Question for Windows users

2023-04-01 Thread Jean Abou Samra
Hi,

A little question for Windows users: could one of you please
do the following test and report back?

1. Choose any font that is NOT installed on your system.
   Random choice: https://www.fontsquirrel.com/fonts/alex-brush
   It's very recognizable, so it'll be easy to tell if the
   font is being properly used. I will assume you use this
   font (“AlexBrush”) in the following.

2. Create a .ly file in some directory on your computer. Put
   the font .otf/.ttf file(s) in that directory.

3. Add this code to the .ly file and compile it:


   \version "2.24.1"
   #(ly:font-config-add-directory "C:/path/to/directory")
   \markup \override #'(font-name . "AlexBrush") "ABCD"


   where "C:/path/to/directory" is the path to the directory
   you put the .ly file and the font in, with 4 different
   variants. Please test all 4 and let me know which work
   and which don't.

   a) Slashes in the path and a slash at the end:
  C:/path/to/directory/
   b) Slashes in the path and no slash at the end:
  C:/path/to/directory
   c) Double backslashes in the path and a double backslash at the end:
  C:\\path\\to\\directory\\
   d) Double backslashes in the path and no double backslash at the end:
  C:\\path\\to\\directory



Thanks in advance.


Jean



signature.asc
Description: This is a digitally signed message part