如何去code的base64恩codeD字体信息? [英] How to decode base64-encoded font information?

查看:168
本文介绍了如何去code的base64恩codeD字体信息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到了一个网站,该网站使用的EN codeD字体信息。
我试图通过的 Base64的Endoder /德codeR Web服务,但我无法找出什么是生成的文件格式。

I encountered a website which used encoded font information. I tried to convert this encoded font to a binary file through the Base64 Endoder/Decoder Web service, but I couldn't find out what is the format of the resulting file.

这里是EN codeD CSS内容(内容是太大了复制/粘贴这里)。

Here is the encoded CSS content (the content is too big to be copied/paste here).

谢谢!

请不要猜测我想做的事情。

我询问如何为Base64 code已被伪造,我所缺少的是能够扭转的过程中,这意味着我不明白这一切的问题。这些技术通常应用在网页自定义字体,似乎有一些改善相比,直接给出在CSS文件中引用的原始字体文件。我深知,所涉及的字体是商业的,不能随意使用。

I am asking questions about how the base64 code has been forged and what I am missing to be able to reverse the process, which means I do not understand everything in it. These technique is often used in webpages with custom fonts, and seems to have some improvements compared to the raw font file directly given reference in the CSS file. I am fully aware that the involved fonts are commercial ones and can't be used freely.

这辩论题外话,停止

推荐答案

1)找到完整的字体声明,例如,字体/ OpenType字体; BASE64,== == ABCDEFGHIJKLMNOPQRSTUVWXYZ

1) locate the complete font declaration, for example, font/opentype;base64,==abcdefghijklmnopqrstuvwxyz==

2)的拷贝带codeD数据部分;排除主要类型声明和逗号。

2) copy the encoded data portion; exclude the leading type declaration and comma.

删除此字体/ OpenType字体; BASE64,

您想要的: == == ABCDEFGHIJKLMNOPQRSTUVWXYZ

3)去code的数据保存为二进制EN codeD文件。的的德code的数据结果到文本编辑器手工粘贴。使用<一个href=\"http://www.motobit.com/util/base64-de$c$cr-en$c$cr.asp\">http://www.motobit.com/util/base64-de$c$cr-en$c$cr.asp选择去code从Base64编码字符串数据和导出到一个二进制文件的选项。

3) decode the data and save as a binary encoded file. Do not decode the data and manually paste the result into a text editor. Use http://www.motobit.com/util/base64-decoder-encoder.asp Select the "decode the data from a Base64 string" and "export to a binary file" options.

4)查看使用纯文本编辑器文件。该文件的第一个3或4个字母可能是WOFF,OTF或TTF。这是你的真实文件类型。

4) View the file using a plain text editor. The first 3 or 4 letters of the file are probably "woff", "otf", or "ttf". This is your actual file type.

这篇关于如何去code的base64恩codeD字体信息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆