Forum

 

9 posts

How to extract the TTF file containing various styles into seperated style files?

11/01/2022 à 09:49

Hi there, I got a problem here needing some help.

I got a TTF Bahnschrift from a friend, it contains many styles in there. I want to extract them into seperated style files for some reasons but I have no idea to do it. Probably I always think this file should be a TTC instead of a TTF. Try some tools but nothing works.

Please check some pics for details: https://3.pik.vn/20226fcfe188-bb6b-498e-8f70-00d065da1968.png
https://3.pik.vn/2022d0fb5ed3-e562-4278-8d1d-a72000f17085.png

Every single idea helping me would be appreciated very much!


11/01/2022 à 14:07

It is a variable font that is why it is a TTF.
Why do you need to have a separate font for each style when you can have all the styles in a single font?


11/01/2022 à 16:23

toto@k22 a dit  
It is a variable font that is why it is a TTF.
Why do you need to have a separate font for each style when you can have all the styles in a single font?

Thanks for replying.
I need to modify some of them.


11/01/2022 à 18:21

Microsoft won't be happy to hear what you're planning to do with their font.

BTW you probably already have Bahnschrift installed in your Windows 10

Édité le 11/01/2022 à 18:31 par toto@k22


11/01/2022 à 21:12

There are 14 different installed fonts in Windows 10 with the file name Bahnschrift, and all have the same date last modified.

The file name and the font name are two different entities that often, but nor always, have the same name. The font name is set internally within the font. The file name can be anything, or altered with right click -> rename. Renaming an installed font will render it unusable.

This is how I would extract the individual styles:

1) Create 14 separate new subfolders inside a new folder. Each of the 14 subfolders would be named/numbered 1-14.

2) Open C:\Windows\Fonts, and using Windows search, search for Bahnschrift. One result will come up in search results.

3) Right-click -> copy the search result.

4) open the first of the 14 subfolders.

5) Right Click -> Paste in subfolder 1. When prompted with a dialog box asking what you want to do with the 14 files that have the same name, check the first box only.

6) open subfolder #2.

Repeat step 5), but check only the second box.

7) repeat this procedure for font and subfolder #'s 3-14. This should give you all 14 styles, each in its own folder. At this point, you can alter the file names to match the internal font names.

I didn't test this, because I don't use Bahnschrift, but I'm confident that this method would work.


12/01/2022 à 06:55

metaphasebrothel a dit  
There are 14 different installed fonts in Windows 10 with the file name Bahnschrift, and all have the same date last modified.

The file name and the font name are two different entities that often, but nor always, have the same name. The font name is set internally within the font. The file name can be anything, or altered with right click -> rename. Renaming an installed font will render it unusable.

This is how I would extract the individual styles:

1) Create 14 separate new subfolders inside a new folder. Each of the 14 subfolders would be named/numbered 1-14.

2) Open C:\Windows\Fonts, and using Windows search, search for Bahnschrift. One result will come up in search results.

3) Right-click -> copy the search result.

4) open the first of the 14 subfolders.

5) Right Click -> Paste in subfolder 1. When prompted with a dialog box asking what you want to do with the 14 files that have the same name, check the first box only.

6) open subfolder #2.

Repeat step 5), but check only the second box.

7) repeat this procedure for font and subfolder #'s 3-14. This should give you all 14 styles, each in its own folder. At this point, you can alter the file names to match the internal font names.

I didn't test this, because I don't use Bahnschrift, but I'm confident that this method would work.

Thank you. I tried, but it didn't work.
Either choosing the first box when pasting to the folder (Replace) or the second box (Skip), it only displayed a single file with all styles in it.


12/01/2022 à 08:40

What font editor are you using? Is your font editor capable of generating variable fonts? If your answer to that is no, find one that does.

BTW what kind of changes do you want to do that you need to have separate styles. The font supports VN codepage so I assume it contains a complete VN specific characters.

Édité le 12/01/2022 à 08:43 par toto@k22


12/01/2022 à 09:24

toto@k22 a dit  
What font editor are you using? Is your font editor capable of generating variable fonts? If your answer to that is no, find one that does.

BTW what kind of changes do you want to do that you need to have separate styles. The font supports VN codepage so I assume it contains a complete VN specific characters.

Just need a small change with c/s and some greece letters of semi-condensed styles to display a long paragraph.
Btw thank you so much, you solved my topic.


11/04/2022 à 15:25

metaphasebrothel a dit  
This is how I would extract the individual styles:

1) ...

I didn't test this, because I don't use Bahnschrift, but I'm confident that this method would work.

Bahnschrift is a variable font and all variations are stored in a single file, so this will never work.



Fuseau horaire : CEST. Il est actuellement 21:45


 
Données personnelles  -  Contact