直接在CSS

时间:2018-04-17 15:39:44

标签: html css fonts font-face

如何在不使用外部文件的情况下在css中嵌入自定义字体?

我知道在正常情况下你可以使用以下命令在css中创建一个新的字体:

@font-face {
    font-family: myFont;
    src: url(myFont.woff);
}

但我想将原始数据作为src而不是url(...)。类似于使用<img>标记在HTML中的操作方式。在正常情况下,您可以执行以下操作:

<img alt="Cascading Style Sheets" src="//upload.wikimedia.org/wikipedia/commons/thumb/e/ed/W3C%C2%AE_Icon.svg/100px-W3C%C2%AE_Icon.svg.png" width="100" height="68" />

但是,您也可以执行以下操作以获得相同的结果:

<img class="img-responsive" src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAABmCAYAAAApk2j7AAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAAB3RJTUUH4QgKCRoGGJ6tQwAAEhNJREFUeNrtnXt0VdWdxz/73iSAIaj1iWKd5QjoCIqvOjNaX9QqD21dY5BEniEhvutj2lW1rqZWO1M6naqttSQ3IAQSJI52iDwEpPKY+kJ0Rq0PalEBX6i8CeTm3j1/7A1cbu49e59z7iUB9netrJXk7nP2uXt/z+/329/923uDg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4NDl4XY56+R9ecRocrzCpl8kqaqJYFrLKs9AxG93fBUf2TmhPl5+9ZlsasQ4tpObvpmGisWdwEO9AIuABZ5lOkNDAP667/fA+YBn2S7oCDt709AVnUgXCoiHAEEJ1a7XEehHA8UZicvJwHz8/g63QZyaKd2p+Q9ICixugHfB4YAp+n+WgssBFqAT33c6zagKAuxokAN8D2gCVgKSOAMYK6+5l6gvSNNUjFrwicgX/duEHEVEycXBm7Q5urNwApDqcspfaxnXjq0dHYP4NID2MtcD6wGZgFjtbX5FvAvwGTgI+C3wDGW1uou4B+yeLNpQA/gHODfgGc1oSYB5wHbgKc1AT2IBS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/ctrzsXxD2oTAXbF/BzoI6i6K9DHn3iGVlqXeoWvHfw2f08tcAfMO7CmPuHzCeeJtzOw2Y0j0hQXv80Uq7O6X0bq14DrmPU5N4kIoMRYjDQH7U49ihtjb8C1iDk/yKjC4n3XJaXbZL2RTswU//0Bi5HqerH6RdgF2ov05X6J4GDg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4NDKv4fA3M+w4NyCBcAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTctMDgtMTBUMDk6MjY6MDYrMDA6MDAgkEEdAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDE3LTA4LTEwVDA5OjI2OjA2KzAwOjAwUc35oQAAAABJRU5ErkJggg==" alt="Cascading Style Sheets" width="100" height="68">

@font-face相同吗?

1 个答案:

答案 0 :(得分:1)

看来你可以base64编码woffwoff2并将它们放在@ font-face中,如下所示:

@font-face {
    font-family: 'Free 3 of 9';
    src: url(data:application/font-woff2;charset=utf-8;base64,d09GMgABAAAAAARwAA0AAAAAFaQAAAQbAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP0ZGVE0cGh4GVgCCahEICptolyILYAABNgIkA2YEIAWGAgeBDhsTEsguBuyG+kINxUnhJBemDawvJ02Ih+/XXs9deLshYhuViSppAoUkXCfji8Zlqsq6tu5Plc3FmPvNq5sljx6apXkbEPHMERJHSDQvARpHp17IDiiTEpPR9vcC80IzTrKum8lwDB8ALP/HAextb7O3v9kzgmw8CHdBoXGqzlJKFx5LMvt2rzzoFo8T1SG7MT2enEN54s8jvCGYWdNZBRjtMyuEBX71RwwB/65leADA13enqgmt6AcyIaxDKJAh8k7EQUmy2ybu/PRuBmBSMwlSAQKQY2x0xNx+3sAotGOgXS2TTJJQcWi6z8QkMSWNQLIp9uPDuzfXgthGJGPmIrOF6MYgR1FCqhwT8esIA1jv66ddLv1vEwhFYolUJlcoVWqNFoAcrMUZq9MNc9X8/zt8BdIfAGpACCV+L0V5u6X5bUvGxLSeln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E7s5L4RuOFoYqAHjaXcy5DgEBAADRt7sJGuK+SzeLXff1PRQKrb+3iUZMM8kUI/RL4J9VFsMgEskrKCopq6iqqWtoamnr6OrpGxgaGZuYmplbiC2zw1oitbG1s3dwdHJ2cXXL3Z/v1yP5Kv0AXKALKQAAAAAAAf//AAJ42mNgZGBg4AFiMSBmYmAEQj0gZgHzGAAFmABdeNpjYGBgZACCq0vUORiQwLauSWEAJjsD0gAAAA==) format('woff'),

    font-weight: normal;
    font-style: normal;
}

所以我猜这种格式类似于url(data:application/font-woff2;charset=utf-8;base64,[BASE64ENCODEDVALUE]) format('woff2'),并用base64编码的字符串替换[BASE64ENCODEDVALUE]

感谢antfuentes87让我指向正确的方向