Posts

Showing posts with the label Font Face

Can I Convert Embedded Base64 Encode Font To A Font File?

Answer : Copy the base64 encoded part and convert it. There are many ways to do that. Linux base64 -d base64_encoded_font.txt > font.woff Mac OS X openssl base64 -d -in base64_encoded_font.txt -out font.woff WIndows Go to http://www.motobit.com/util/base64-decoder-encoder.asp and paste the text. Choose "decode the data from a Base64 string (base64 decoding)" and "export to a binary file". @mcrumley's answer is correct, but for those of you who can't figure it out and/or are afraid of the command-line, I have an alternate method. I just Googled your question, and found http://base64converter.com/ which can convert/decode (and encode) any base64 file back to its original format. I'd used it to encode and decode base64 images in this past, but this was my first attempt with a font. As a test I plugged in the embedded base64 font info I found in a random webpage's css file. You don't want the entire entry, leave off the css in...