Base64

Göran Söderström
Posts: 40
What is a good way of converting to Base64 without uploading the TTF to some other persons site?
0
Comments
-
On a Mac you can simply use Terminal:
Go to the folder your font file is in using the “cd” command, and then type:base64 yourFont > yourFont.txt
This will create a text file next to your font file containing the Base64 string.
5 -
Base64 encoding is built into many programming language these days, or available as easy to install add-ons. It is built-into python's standard library if you are a Unix/linux/mac os X person; I believe it is also built into Microsoft dotnet's too.
If you don't want to do your own little programming task, there is a stand-alone tool called "base64" (!) which is part of GNU coreutils. You could probably download some binaries for whatever platform you are on, by searching for "gnu coreutils".0 -
Whoa, that easy. Thanks!1
Categories
- All Categories
- 43 Introductions
- 3.7K Typeface Design
- 811 Font Technology
- 1.1K Technique and Theory
- 628 Type Business
- 449 Type Design Critiques
- 547 Type Design Software
- 30 Punchcutting
- 137 Lettering and Calligraphy
- 84 Technique and Theory
- 53 Lettering Critiques
- 493 Typography
- 307 History of Typography
- 115 Education
- 71 Resources
- 505 Announcements
- 81 Events
- 106 Job Postings
- 151 Type Releases
- 166 Miscellaneous News
- 271 About TypeDrawers
- 53 TypeDrawers Announcements
- 117 Suggestions and Bug Reports