Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Couldn't find a font file names [...].ttc(System Font Regular) #1

Closed
bluefirex opened this issue Oct 24, 2014 · 12 comments
Closed

Couldn't find a font file names [...].ttc(System Font Regular) #1

bluefirex opened this issue Oct 24, 2014 · 12 comments

Comments

@bluefirex
Copy link

I can't convert all fonts because these fonts are not found:

System Font Regular
System Font Bold
System Font Bold Italic

Exact error (I was using the bash script provided in the README.md):
bildschirmfoto 2014-10-24 um 22 56 30

The file is present in the root of the repository. Patching all other system fonts works.

@dtinth
Copy link
Owner

dtinth commented Oct 25, 2014

Hello,

Thanks for your report! Could you paste in the result of the following command? This command shows the list of fonts inside HelveticaNeueDeskInterface.ttc:

bin/list-fonts HelveticaNeueDeskInterface.ttc

The output should be something like this:

- System Font Regular
- System Font Bold
- System Font Italic
- System Font Bold Italic
- System Font Medium P4
- System Font Medium Italic P4
- システムフォント レギュラ ライト
- System Font Thin
- System Font UltraLight
- System Font Heavy

Can you also try this command?

shasum HelveticaNeueDeskInterface.ttc

To make sure that we have the same file, my hash is:

efd146519b6b9f77adc38deb2dec466c6a2ab772  HelveticaNeueDeskInterface.ttc

@bluefirex
Copy link
Author

Ahhh I have something for you to add to the README.md :D

On non-English systems the font names are localized. For example, German OS X shows me this list:

- Systemschrift Normal
- Systemschrift Fett
- System Font Italic
- System Font Bold Italic
- System Font Medium P4
- System Font Medium Italic P4
- Systemschrift Fein
- Systemschrift Extraschmal
- Systemschrift Extrafein
- System Font Heavy

Hash is the same. Resolved.

@stratman58
Copy link

Apologies - am I writing to the correct address to contact the author of the script?

I too hate Helvetica and am desperate to switch to Avenir as system font but I can’t get the script to work - I’m not a programmer so I’m afraid I need a bit of an idiot’s guide -

  • what does "to the root of the repository” mean?
  • where/how do I run the script - in terminal?
  • how does the script know how/where to access the fonts?

Any assistance gratefully received!

Thanks

Alex

On 25 Oct, 2014, at 4:22 pm, Thai Pangsakulyanont notifications@github.com wrote:

Hello,

Thanks for your report! Could you paste in the result of the following command? This command shows the list of fonts inside HelveticaNeueDeskInterface.ttc:

bin/list-fonts HelveticaNeueDeskInterface.ttc
The output should be something like this:

  • System Font Regular
  • System Font Bold
  • System Font Italic
  • System Font Bold Italic
  • System Font Medium P4
  • System Font Medium Italic P4
  • システムフォント レギュラ ライト
  • System Font Thin
  • System Font UltraLight
  • System Font Heavy
    Can you also try this command?

shasum HelveticaNeueDeskInterface.ttc
To make sure that we have the same file, my hash is:

efd146519b6b9f77adc38deb2dec466c6a2ab772 HelveticaNeueDeskInterface.ttc

Reply to this email directly or view it on GitHub.

@dtinth
Copy link
Owner

dtinth commented Oct 28, 2014

Hello. Thanks for your interest. Correct, I am the author of the script.

To answer your question,

  • When you download this project, you are downloading a "snapshot" of this repository. When you extract the ZIP file, the folder you get is the root of the repository (technically, it's the root of the "snapshot" of the repository when you downloaded it).
  • Yes, in the Terminal.
  • You have to copy the fonts into the repository — that's how.

First, you need to install Homebrew. Go to http://brew.sh/, scroll down, and paste the installation code inside the Terminal.

After the installation is finished, you have to install FontForge, by typing this in the Terminal. Notice that it uses the "brew" command, which you just installed:

brew install fontforge --with-python

If that works, then we can continue.

@stratman58
Copy link

Cool, thanks for your help :)

I’ve copied the fonts to the repository and home-brew and font forge are installed

Thanks

Alex

On 28 Oct, 2014, at 7:09 pm, Thai Pangsakulyanont notifications@github.com wrote:

Hello. Thanks for your interest. Correct, I am the author of the script.

To answer your question,

When you download this project, you are downloading a "snapshot" of this repository. When you extract the ZIP file, the folder you get is the root of the repository (technically, it's the root of the "snapshot" of the repository when you downloaded it).
Yes, in the Terminal.
You have to copy the fonts into the repository — that's how.
First, you need to install Homebrew. Go to http://brew.sh/, scroll down, and paste the installation code inside the Terminal.

After the installation is finished, you have to install FontForge, by typing this in the Terminal. Notice that it uses the "brew" command, which you just installed:

brew install fontforge --with-python
If that works, then we can continue.


Reply to this email directly or view it on GitHub.

@dtinth
Copy link
Owner

dtinth commented Oct 28, 2014

That's great. The next part is quite complicated, I will try creating a convenient script to make it easier.

Stay tuned. :)

On Tue, Oct 28, 2014 at 6:14 PM, stratman58 notifications@github.com
wrote:

Cool, thanks for your help :)
I’ve copied the fonts to the repository and home-brew and font forge are installed
Thanks
Alex
On 28 Oct, 2014, at 7:09 pm, Thai Pangsakulyanont notifications@github.com wrote:

Hello. Thanks for your interest. Correct, I am the author of the script.

To answer your question,

When you download this project, you are downloading a "snapshot" of this repository. When you extract the ZIP file, the folder you get is the root of the repository (technically, it's the root of the "snapshot" of the repository when you downloaded it).
Yes, in the Terminal.
You have to copy the fonts into the repository — that's how.
First, you need to install Homebrew. Go to http://brew.sh/, scroll down, and paste the installation code inside the Terminal.

After the installation is finished, you have to install FontForge, by typing this in the Terminal. Notice that it uses the "brew" command, which you just installed:

brew install fontforge --with-python
If that works, then we can continue.


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub:
#1 (comment)

@stratman58
Copy link

awesome!

many thanks :)

Alex

On 28 Oct, 2014, at 8:46 pm, Thai Pangsakulyanont notifications@github.com wrote:

That's great. The next part is quite complicated, I will try creating a convenient script to make it easier.

Stay tuned. :)

On Tue, Oct 28, 2014 at 6:14 PM, stratman58 notifications@github.com
wrote:

Cool, thanks for your help :)
I’ve copied the fonts to the repository and home-brew and font forge are installed
Thanks
Alex
On 28 Oct, 2014, at 7:09 pm, Thai Pangsakulyanont notifications@github.com wrote:

Hello. Thanks for your interest. Correct, I am the author of the script.

To answer your question,

When you download this project, you are downloading a "snapshot" of this repository. When you extract the ZIP file, the folder you get is the root of the repository (technically, it's the root of the "snapshot" of the repository when you downloaded it).
Yes, in the Terminal.
You have to copy the fonts into the repository — that's how.
First, you need to install Homebrew. Go to http://brew.sh/, scroll down, and paste the installation code inside the Terminal.

After the installation is finished, you have to install FontForge, by typing this in the Terminal. Notice that it uses the "brew" command, which you just installed:

brew install fontforge --with-python
If that works, then we can continue.


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub:
#1 (comment)

Reply to this email directly or view it on GitHub.

@dtinth
Copy link
Owner

dtinth commented Oct 28, 2014

Thanks for waiting. Here's how to use it.

Update: An even easier step by step guide


First, please download the repository again. Copy HelveticaNeueDeskInterface.ttc into the repository root. Your folder should now look like:

YosemiteSystemFontPatcher-master
├── HelveticaNeueDeskInterface.ttc
├── README.md
└── bin
    ├── convenient-script
    ├── list-fonts
    └── patch

In a Terminal, change directory to the repository folder. If you don't know how:

type cd, then hit space, then drag the project folder into the terminal. It should say something like

cd /Users/dtinth/Downloads/YosemiteSystemFontPatcher

Press enter. Now you should be in the desired directory.

Then run this command:

bin/convenient-script

Then follow these steps:

  1. Select font file to use, for example, Avenir Next.ttc and select the desired font (regular, bold, ...).
  2. Select the system font to use (regular, bold, ...).
  3. It will create a file.
  4. Press OK to select another font, otherwise press Cancel.

After that, your directory should look like:

.
├── HelveticaNeueDeskInterface.ttc
├── README.md
├── System Comic Sans MS Bold.ttf
├── System Comic Sans MS.ttf
└── bin
    ├── convenient-script
    ├── list-fonts
    └── patch

Finally, copy the generated font files to /Users/[your user name]/Library/Fonts.

@stratman58
Copy link

Hi, thanks for the script

I got as far as ‘Then run this command’ - I took that to mean type/paste "bin/convenient-script" in the terminal and hit return - when I tried that I got:

osascript: no such component "JavaScript”.

Last login: Wed Oct 29 15:25:43 on ttys001
Alexs-iMac:~ alex$ cd /Users/alex/Desktop/YosemiteSystemFontPatcher-master
Alexs-iMac:YosemiteSystemFontPatcher-master alex$ bin/convenient-script
osascript: no such component "JavaScript".
Alexs-iMac:YosemiteSystemFontPatcher-master alex$

Many thanks

Alex

(very sorry for taking up your time, I am a total novice when it comes to anything in the terminal!)

On 28 Oct, 2014, at 10:55 pm, Thai Pangsakulyanont notifications@github.com wrote:

Thanks for waiting. Here's how to use it.

First, please download the repository again. Copy HelveticaNeueDeskInterface.ttc into the repository root. Your folder should now look like:

YosemiteSystemFontPatcher-master
├── HelveticaNeueDeskInterface.ttc
├── README.md
└── bin
├── convenient-script
├── list-fonts
└── patch
In a Terminal, change directory to the repository folder. If you don't know how:

type cd, then hit space, then drag the project folder into the terminal. It should say something like

cd /Users/dtinth/Downloads/YosemiteSystemFontPatcher
Press enter. Now you should be in the desired directory.

Then run this command:

bin/convenient-script
Then follow these steps:

Select font file to use, for example, Avenir Next.ttc and select the desired font (regular, bold, ...).
Select the system font to use (regular, bold, ...).
It will create a file.
Press OK to select another font, otherwise press Cancel.
After that, your directory should look like:

.
├── HelveticaNeueDeskInterface.ttc
├── README.md
├── System Comic Sans MS Bold.ttf
├── System Comic Sans MS.ttf
└── bin
├── convenient-script
├── list-fonts
└── patch
Finally, copy the generated font files to /Users/[your user name]/Library/Fonts.


Reply to this email directly or view it on GitHub.

@stratman58
Copy link

Hi, ignore the previous mail - I tried on another machine from scratch and it seems to be working fine :)

On 29 Oct, 2014, at 3:39 pm, Alexander Mucha alexmucha@mac.com wrote:

Hi, thanks for the script

I got as far as ‘Then run this command’ - I took that to mean type/paste "bin/convenient-script" in the terminal and hit return - when I tried that I got:

osascript: no such component "JavaScript”.

Last login: Wed Oct 29 15:25:43 on ttys001
Alexs-iMac:~ alex$ cd /Users/alex/Desktop/YosemiteSystemFontPatcher-master
Alexs-iMac:YosemiteSystemFontPatcher-master alex$ bin/convenient-script
osascript: no such component "JavaScript".
Alexs-iMac:YosemiteSystemFontPatcher-master alex$

Many thanks

Alex

(very sorry for taking up your time, I am a total novice when it comes to anything in the terminal!)

On 28 Oct, 2014, at 10:55 pm, Thai Pangsakulyanont notifications@github.com wrote:

Thanks for waiting. Here's how to use it.

First, please download the repository again. Copy HelveticaNeueDeskInterface.ttc into the repository root. Your folder should now look like:

YosemiteSystemFontPatcher-master
├── HelveticaNeueDeskInterface.ttc
├── README.md
└── bin
├── convenient-script
├── list-fonts
└── patch
In a Terminal, change directory to the repository folder. If you don't know how:

type cd, then hit space, then drag the project folder into the terminal. It should say something like

cd /Users/dtinth/Downloads/YosemiteSystemFontPatcher
Press enter. Now you should be in the desired directory.

Then run this command:

bin/convenient-script
Then follow these steps:

Select font file to use, for example, Avenir Next.ttc and select the desired font (regular, bold, ...).
Select the system font to use (regular, bold, ...).
It will create a file.
Press OK to select another font, otherwise press Cancel.
After that, your directory should look like:

.
├── HelveticaNeueDeskInterface.ttc
├── README.md
├── System Comic Sans MS Bold.ttf
├── System Comic Sans MS.ttf
└── bin
├── convenient-script
├── list-fonts
└── patch
Finally, copy the generated font files to /Users/[your user name]/Library/Fonts.


Reply to this email directly or view it on GitHub.

@stratman58
Copy link

Yup all works fine, truly awesome, can’t tell you how much I hate Helvetica, so glad to have switched it to Avenir! - do you have a paypal page where I can contribute to your studies?

thanks :)

Alex

On 29 Oct, 2014, at 8:07 pm, Alexander Mucha alexmucha@mac.com wrote:

Hi, ignore the previous mail - I tried on another machine from scratch and it seems to be working fine :)

On 29 Oct, 2014, at 3:39 pm, Alexander Mucha alexmucha@mac.com wrote:

Hi, thanks for the script

I got as far as ‘Then run this command’ - I took that to mean type/paste "bin/convenient-script" in the terminal and hit return - when I tried that I got:

osascript: no such component "JavaScript”.

Last login: Wed Oct 29 15:25:43 on ttys001
Alexs-iMac:~ alex$ cd /Users/alex/Desktop/YosemiteSystemFontPatcher-master
Alexs-iMac:YosemiteSystemFontPatcher-master alex$ bin/convenient-script
osascript: no such component "JavaScript".
Alexs-iMac:YosemiteSystemFontPatcher-master alex$

Many thanks

Alex

(very sorry for taking up your time, I am a total novice when it comes to anything in the terminal!)

On 28 Oct, 2014, at 10:55 pm, Thai Pangsakulyanont notifications@github.com wrote:

Thanks for waiting. Here's how to use it.

First, please download the repository again. Copy HelveticaNeueDeskInterface.ttc into the repository root. Your folder should now look like:

YosemiteSystemFontPatcher-master
├── HelveticaNeueDeskInterface.ttc
├── README.md
└── bin
├── convenient-script
├── list-fonts
└── patch
In a Terminal, change directory to the repository folder. If you don't know how:

type cd, then hit space, then drag the project folder into the terminal. It should say something like

cd /Users/dtinth/Downloads/YosemiteSystemFontPatcher
Press enter. Now you should be in the desired directory.

Then run this command:

bin/convenient-script
Then follow these steps:

Select font file to use, for example, Avenir Next.ttc and select the desired font (regular, bold, ...).
Select the system font to use (regular, bold, ...).
It will create a file.
Press OK to select another font, otherwise press Cancel.
After that, your directory should look like:

.
├── HelveticaNeueDeskInterface.ttc
├── README.md
├── System Comic Sans MS Bold.ttf
├── System Comic Sans MS.ttf
└── bin
├── convenient-script
├── list-fonts
└── patch
Finally, copy the generated font files to /Users/[your user name]/Library/Fonts.


Reply to this email directly or view it on GitHub.

@dtinth dtinth closed this as completed Oct 29, 2014
@dtinth
Copy link
Owner

dtinth commented Oct 29, 2014

Thanks for helping me verify that the script works.

I don't have a PayPal page, but you can send to dtinth@spacet.me. Thank you. :D

By the way, I am closing this GitHub issue, as even though this is one possible way of contacting me, this email is for an unrelated issue.

On Wed, Oct 29, 2014 at 7:20 PM, stratman58 notifications@github.com
wrote:

Yup all works fine, truly awesome, can’t tell you how much I hate
Helvetica, so glad to have switched it to Avenir! - do you have a paypal
page where I can contribute to your studies?

thanks :)

Alex

On 29 Oct, 2014, at 8:07 pm, Alexander Mucha alexmucha@mac.com wrote:

Hi, ignore the previous mail - I tried on another machine from scratch
and it seems to be working fine :)

On 29 Oct, 2014, at 3:39 pm, Alexander Mucha alexmucha@mac.com wrote:

Hi, thanks for the script

I got as far as ‘Then run this command’ - I took that to mean
type/paste "bin/convenient-script" in the terminal and hit return - when I
tried that I got:

osascript: no such component "JavaScript”.

Last login: Wed Oct 29 15:25:43 on ttys001
Alexs-iMac:~ alex$ cd
/Users/alex/Desktop/YosemiteSystemFontPatcher-master
Alexs-iMac:YosemiteSystemFontPatcher-master alex$ bin/convenient-script
osascript: no such component "JavaScript".
Alexs-iMac:YosemiteSystemFontPatcher-master alex$

Many thanks

Alex

(very sorry for taking up your time, I am a total novice when it comes
to anything in the terminal!)

On 28 Oct, 2014, at 10:55 pm, Thai Pangsakulyanont <
notifications@github.com> wrote:

Thanks for waiting. Here's how to use it.

First, please download the repository again. Copy
HelveticaNeueDeskInterface.ttc into the repository root. Your folder should
now look like:

YosemiteSystemFontPatcher-master
├── HelveticaNeueDeskInterface.ttc
├── README.md
└── bin
├── convenient-script
├── list-fonts
└── patch
In a Terminal, change directory to the repository folder. If you don't
know how:

type cd, then hit space, then drag the project folder into the
terminal. It should say something like

cd /Users/dtinth/Downloads/YosemiteSystemFontPatcher
Press enter. Now you should be in the desired directory.

Then run this command:

bin/convenient-script
Then follow these steps:

Select font file to use, for example, Avenir Next.ttc and select the
desired font (regular, bold, ...).
Select the system font to use (regular, bold, ...).
It will create a file.
Press OK to select another font, otherwise press Cancel.
After that, your directory should look like:

.
├── HelveticaNeueDeskInterface.ttc
├── README.md
├── System Comic Sans MS Bold.ttf
├── System Comic Sans MS.ttf
└── bin
├── convenient-script
├── list-fonts
└── patch
Finally, copy the generated font files to /Users/[your user
name]/Library/Fonts.


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub
#1 (comment)
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants