Change Font Family, Rename Font
How can I change a font's Family? I have 4 fonts belonging to the same family and I wish to separate them.
Also, I would also want to rename the Font itself.
A simple file name change is NOT enough.
I'm looking for a free tool to do this, but came out empty handed after Googling a bit. All Font "studios" demand money.
I should specify that I need to do this in the Operating System itself, so I need to modify the TTF/OTF/actual font file.
26 Answers
Any special reason for changing the font details? (just curious...)
anyway i found this little tool: (Which is cross platform and open source!)
hope it helps :)
2TTFedit did the job for me. It has a much smaller footprint and was easier to use for me.
Just start ttfedit.jar, open a .ttf, select the "name" tab on the left side, edit the family names, subfamily names, etc. and save as a new .ttf.
In my case, I had to wipe Photoshop's font cache before my changed font got recognized.
0I know that is a bit older, but I found a method for .otf files:
- Download FontForge
- Edit the three names (>Element,>Fontinfo) and export it as a
.ttffile. - Then grab this old Windows program:
- Open the created
.ttfwithfpeditand skip the steps (just click next till the program is ready) - Click on "Save as"
- Be happy
If you upload the font's file (with the new name) to the server you can use it after defining it as a font. For example: If I want Arial to be called Ari, I can just change the file's name and upload it to my server. Then I will just write the following line in the css file:
@font-face{font-family:Ari; src:url('Ari.ttf');}font-family is the name of the new font.
src is the file's address.
To use the new font write something like: H1{font-family:'Ari';}
As to the first part of your question, I don't understand what you mean. Please clarify.
1Just import your font file in the online GlyphrStudio font editor, click on menu icon and go to Font settings, apply your desire changes and export the font.
fontname.py allows to rename a font on the CLI, it depends on fonttools.
Git repo:
fonttools could be installed with pip: pip3 install fonttools
Example for renaming a font title (new title will be: Nerd Symbols 2048):
python fontname.py 'Nerd Symbols 2048' 'Symbols-2048-em Nerd Font Complete.ttf'