V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
beizhedenglong
V2EX  ›  程序员

如何打出朋友圈很火的 "𝑰 𝒍𝒐𝒗𝒆 𝒚𝒐𝒖 𝒕𝒉𝒓𝒆𝒆 𝒕𝒉𝒐𝒖𝒔𝒂𝒏𝒅." 这样的字体?

  beizhedenglong · 2019-05-20 13:29:32 +08:00 · 43067 次点击
这是一个创建于 555 天前的主题,其中的信息可能已经有所发展或是发生改变。
168 条回复    2019-11-02 15:15:49 +08:00
1  2  
sth2018
    101
sth2018   2019-05-20 17:11:35 +08:00
𝕴 𝖑𝖔𝖛𝖊 𝖞𝖔𝖚 𝖙𝖍𝖗𝖊𝖊 𝖙𝖍𝖔𝖚𝖘𝖆𝖓𝖉.
WantMarryGakki
    102
WantMarryGakki   2019-05-20 17:15:47 +08:00
import { serif } from "wired-fonts"

serif("I love you three thousand.", { fontStyle: "bold-italic" })
WantMarryGakki
    103
WantMarryGakki   2019-05-20 17:16:48 +08:00
这可太尴尬了
nmdx
    104
nmdx   2019-05-20 17:38:01 +08:00 via Android   ❤️ 1
上个月刚好写过 js

namek
    105
namek   2019-05-20 17:40:26 +08:00
ℐ 𝓁ℴ𝓋ℯ 𝓎ℴ𝓊 𝓉𝒽𝓇ℯℯ 𝓉𝒽ℴ𝓊𝓈𝒶𝓃𝒹
baiducom
    106
baiducom   2019-05-20 17:45:10 +08:00 via Android
@nmdx 嗯 有网页版版
mohoumk2
    107
mohoumk2   2019-05-20 17:48:10 +08:00 via Android
@Immortal 并没有,我手机的显示都很正常
glaucus
    108
glaucus   2019-05-20 17:50:11 +08:00 via iPhone
花样字体 APP
nmdx
    109
nmdx   2019-05-20 18:01:59 +08:00 via Android   ❤️ 1
@baiducom 之前花了好久看 unicode 编码顺序 强迫症各种被坑
//上个 js 的核心代码
var ziti = {
"119860" : {"id":"119860","show":"𝐴 𝑎","h":"ℎ"},
"119964" : {"id":"119964","show":"𝒜 𝒶","B":"ℬ","E":"ℰ","F":"ℱ","H":"ℋ","I":"ℐ","L":"ℒ","M":"ℳ","R":"ℛ","e":"ℯ","g":"𝓰","o":"ℴ"},
"120068" : {"id":"120068","show":"𝔄 𝔞","C":"ℭ","H":"ℌ","I":"ℑ","R":"ℜ","Z":"ℨ"},
"120120" : {"id":"120120","show":"𝔸 𝕒","C":"ℂ","H":"ℍ","N":"ℕ","P":"ℙ","Q":"ℚ","R":"ℝ","Z":"ℤ"}
};
var z = 120120;
var str = "test ABC";
var result = "";
for (var i = 0; i < str.length; i++) {
result += ziti[z][str[i]] || abc(str[i]);
}
alert(result);
function abc(a) {
var c = a.charCodeAt();
if ((c > 64 && c < 91) || (c > 96 && c < 123)) {
c = c < 91 ? c - 65 : c - 71;
return String.fromCodePoint(z + c);
} else {
return a;
}
}
co3site
    110
co3site   2019-05-20 18:08:23 +08:00 via Android
ℐ 𝓌𝒾𝓁𝓁 𝒶𝓁𝓌𝒶𝓎𝓈 𝓁ℴ𝓋ℯ 𝒢𝒶𝓀𝓀𝒾
mmdsun
    111
mmdsun   2019-05-20 18:39:09 +08:00 via Android
Ⓘ ⓛⓞⓥⓔ ⓨⓞⓤ ⓣⓗⓡⓔⓔ ⓣⓗⓞⓤⓢⓐⓝⓓ
makeitall
    112
makeitall   2019-05-20 18:45:01 +08:00
𝘐 𝘭𝘰𝘷𝘦 𝘺𝘰𝘶 𝘵𝘩𝘳𝘦𝘦 𝘵𝘩𝘰𝘶𝘴𝘢𝘯𝘥.
justfun
    113
justfun   2019-05-20 18:49:25 +08:00 via iPhone   ❤️ 1
𝙄𝙤𝙨 𝙖𝙥𝙥 𝙣𝙖𝙢𝙚𝙙 "花样文字"
xuang999
    115
xuang999   2019-05-20 18:56:11 +08:00 via Android
import { serif } from "wired-fonts"

serif("I love you three thousand.", { fontStyle: "bold-italic" })
CandySky
    116
CandySky   2019-05-20 18:58:00 +08:00
import { serif } from "wired-fonts"

serif("I love you three thousand.", { fontStyle: "bold-italic" })
CandySky
    117
CandySky   2019-05-20 18:58:18 +08:00
```
import { serif } from "wired-fonts"

serif("I love you three thousand.", { fontStyle: "bold-italic" })
```
CandySky
    118
CandySky   2019-05-20 18:59:34 +08:00
ℐ 𝓁ℴ𝓋ℯ 𝓎ℴ𝓊 𝓉𝒽𝓇ℯℯ 𝓉𝒽ℴ𝓊𝓈𝒶𝓃𝒹.
leafsummer
    119
leafsummer   2019-05-20 19:04:27 +08:00
```
import { serif } from "wired-fonts"

serif("I love you three thousand.", { fontStyle: "bold-italic" }) // 𝑰 𝒍𝒐𝒗𝒆 𝒚𝒐𝒖 𝒕𝒉𝒓𝒆𝒆 𝒕𝒉𝒐𝒖𝒔𝒂𝒏𝒅.
```
leafsummer
    120
leafsummer   2019-05-20 19:10:08 +08:00
𝕴 𝖑𝖔𝖛𝖊 𝖞𝖔𝖚 𝖙𝖍𝖗𝖊𝖊 𝖙𝖍𝖔𝖚𝖘𝖆𝖓𝖉.
pkookp8
    121
pkookp8   2019-05-20 19:23:45 +08:00
import { serif } from "wired-fonts"

serif("I love you three thousand.", { fontStyle: "bold-italic" })
pkookp8
    122
pkookp8   2019-05-20 19:24:09 +08:00
```
import { serif } from "wired-fonts"

serif("I love you three thousand.", { fontStyle: "bold-italic" })
```
gladuo
    123
gladuo   2019-05-20 19:26:37 +08:00
```
import { serif } from "wired-fonts"

serif("I love you three thousand.", { fontStyle: "bold-italic" })
```
gladuo
    124
gladuo   2019-05-20 19:27:37 +08:00
```js
import { serif } from "wired-fonts"

serif("I love you three thousand.", { fontStyle: "bold-italic" })
```
gladuo
    125
gladuo   2019-05-20 19:28:59 +08:00
```js
import { serif } from "wired-fonts"

serif("I love you three thousand.", { fontStyle: "bold-italic" }) // 𝑰 𝒍𝒐𝒗𝒆 𝒚𝒐𝒖 𝒕𝒉𝒓𝒆𝒆 𝒕𝒉𝒐𝒖𝒔𝒂𝒏𝒅.

```
tim2017
    126
tim2017   2019-05-20 20:51:36 +08:00 via iPhone
一群代码狂人啊 🐂
FancyKing
    127
FancyKing   2019-05-20 21:10:54 +08:00
𝓘 𝓯𝓮𝓮𝓵 𝓽𝓱𝓪𝓽 𝓽𝓱𝓲𝓼 𝓲𝓼 𝓺𝓾𝓲𝓽𝓮 𝓰𝓸𝓸𝓭.
ggbblfq
    128
ggbblfq   2019-05-20 21:50:00 +08:00
𝕴 𝖑𝖔𝖛𝖊 𝖞𝖔𝖚 𝖙𝖍𝖗𝖊𝖊 𝖙𝖍𝖔𝖚𝖘𝖆𝖓𝖉
opengps
    129
opengps   2019-05-20 21:59:44 +08:00
哪位大佬解释下啊
javaist
    130
javaist   2019-05-20 22:17:14 +08:00
import { serif } from "weird-fonts"

serif("I love you three thousand.", { fontStyle: "bold-italic" }) // 𝑰 𝒍𝒐𝒗𝒆 𝒚𝒐𝒖 𝒕𝒉𝒓𝒆𝒆 𝒕𝒉𝒐𝒖𝒔𝒂𝒏𝒅.
starrycat
    131
starrycat   2019-05-20 22:29:27 +08:00 via Android
unicode 字符,字体支持才能显示
twoyuan
    132
twoyuan   2019-05-20 22:30:48 +08:00
Chrome OS 看本贴一堆方块……
devtiange
    133
devtiange   2019-05-20 22:57:10 +08:00
ⓣⓗⓘⓢ ⓘⓢ ⓒⓞⓞⓛ
Biwood
    134
Biwood   2019-05-20 23:00:41 +08:00   ❤️ 2
Circled ⓐⓑⓒⓓⓔⓕⓖⓗⓘⓙⓚⓛⓜⓝⓞⓟⓠⓡⓢⓣⓤⓥⓦⓧⓨⓩⒶⒷⒸⒹⒺⒻⒼⒽⒾⒿⓀⓁⓂⓃⓄⓅⓆⓇⒺⓉⓊⓋⓌⓍⓎⓏ
Circled (neg) 🅐🅑🅒🅓🅔🅕🅖🅗🅘🅙🅚🅛🅜🅝🅞🅟🅠🅡🅢🅣🅤🅥🅦🅧🅨🅩🅐🅑🅒🅓🅔🅕🅖🅗🅘🅙🅚🅛🅜🅝🅞🅟🅠🅡🅔🅣🅤🅥🅦🅧🅨🅩
Fullwidth abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRETUVWXYZ
Math bold 𝐚𝐛𝐜𝐝𝐞𝐟𝐠𝐡𝐢𝐣𝐤𝐥𝐦𝐧𝐨𝐩𝐪𝐫𝐬𝐭𝐮𝐯𝐰𝐱𝐲𝐳𝐀𝐁𝐂𝐃𝐄𝐅𝐆𝐇𝐈𝐉𝐊𝐋𝐌𝐍𝐎𝐏𝐐𝐑𝐄𝐓𝐔𝐕𝐖𝐗𝐘𝐙
Math bold Fraktur 𝖆𝖇𝖈𝖉𝖊𝖋𝖌𝖍𝖎𝖏𝖐𝖑𝖒𝖓𝖔𝖕𝖖𝖗𝖘𝖙𝖚𝖛𝖜𝖝𝖞𝖟𝕬𝕭𝕮𝕯𝕰𝕱𝕲𝕳𝕴𝕵𝕶𝕷𝕸𝕹𝕺𝕻𝕼𝕽𝕰𝕿𝖀𝖁𝖂𝖃𝖄𝖅
Math bold italic 𝒂𝒃𝒄𝒅𝒆𝒇𝒈𝒉𝒊𝒋𝒌𝒍𝒎𝒏𝒐𝒑𝒒𝒓𝒔𝒕𝒖𝒗𝒘𝒙𝒚𝒛𝑨𝑩𝑪𝑫𝑬𝑭𝑮𝑯𝑰𝑱𝑲𝑳𝑴𝑵𝑶𝑷𝑸𝑹𝑬𝑻𝑼𝑽𝑾𝑿𝒀𝒁
Math bold script 𝓪𝓫𝓬𝓭𝓮𝓯𝓰𝓱𝓲𝓳𝓴𝓵𝓶𝓷𝓸𝓹𝓺𝓻𝓼𝓽𝓾𝓿𝔀𝔁𝔂𝔃𝓐𝓑𝓒𝓓𝓔𝓕𝓖𝓗𝓘𝓙𝓚𝓛𝓜𝓝𝓞𝓟𝓠𝓡𝓔𝓣𝓤𝓥𝓦𝓧𝓨𝓩
Math double-struck 𝕒𝕓𝕔𝕕𝕖𝕗𝕘𝕙𝕚𝕛𝕜𝕝𝕞𝕟𝕠𝕡𝕢𝕣𝕤𝕥𝕦𝕧𝕨𝕩𝕪𝕫𝔸𝔹ℂ𝔻𝔼𝔽𝔾ℍ𝕀𝕁𝕂𝕃𝕄ℕ𝕆ℙℚℝ𝔼𝕋𝕌𝕍𝕎𝕏𝕐ℤ
Math monospace 𝚊𝚋𝚌𝚍𝚎𝚏𝚐𝚑𝚒𝚓𝚔𝚕𝚖𝚗𝚘𝚙𝚚𝚛𝚜𝚝𝚞𝚟𝚠𝚡𝚢𝚣𝙰𝙱𝙲𝙳𝙴𝙵𝙶𝙷𝙸𝙹𝙺𝙻𝙼𝙽𝙾𝙿𝚀𝚁𝙴𝚃𝚄𝚅𝚆𝚇𝚈𝚉
Math sans 𝖺𝖻𝖼𝖽𝖾𝖿𝗀𝗁𝗂𝗃𝗄𝗅𝗆𝗇𝗈𝗉𝗊𝗋𝗌𝗍𝗎𝗏𝗐𝗑𝗒𝗓𝖠𝖡𝖢𝖣𝖤𝖥𝖦𝖧𝖨𝖩𝖪𝖫𝖬𝖭𝖮𝖯𝖰𝖱𝖤𝖳𝖴𝖵𝖶𝖷𝖸𝖹
Math sans bold 𝗮𝗯𝗰𝗱𝗲𝗳𝗴𝗵𝗶𝗷𝗸𝗹𝗺𝗻𝗼𝗽𝗾𝗿𝘀𝘁𝘂𝘃𝘄𝘅𝘆𝘇𝗔𝗕𝗖𝗗𝗘𝗙𝗚𝗛𝗜𝗝𝗞𝗟𝗠𝗡𝗢𝗣𝗤𝗥𝗘𝗧𝗨𝗩𝗪𝗫𝗬𝗭
Math sans bold italic 𝙖𝙗𝙘𝙙𝙚𝙛𝙜𝙝𝙞𝙟𝙠𝙡𝙢𝙣𝙤𝙥𝙦𝙧𝙨𝙩𝙪𝙫𝙬𝙭𝙮𝙯𝘼𝘽𝘾𝘿𝙀𝙁𝙂𝙃𝙄𝙅𝙆𝙇𝙈𝙉𝙊𝙋𝙌𝙍𝙀𝙏𝙐𝙑𝙒𝙓𝙔𝙕
Math sans italic 𝘢𝘣𝘤𝘥𝘦𝘧𝘨𝘩𝘪𝘫𝘬𝘭𝘮𝘯𝘰𝘱𝘲𝘳𝘴𝘵𝘶𝘷𝘸𝘹𝘺𝘻𝘈𝘉𝘊𝘋𝘌𝘍𝘎𝘏𝘐𝘑𝘒𝘓𝘔𝘕𝘖𝘗𝘘𝘙𝘌𝘛𝘜𝘝𝘞𝘟𝘠𝘡
Parenthesized ⒜⒝⒞⒟⒠⒡⒢⒣⒤⒥⒦⒧⒨⒩⒪⒫⒬⒭⒮⒯⒰⒱⒲⒳⒴⒵⒜⒝⒞⒟⒠⒡⒢⒣⒤⒥⒦⒧⒨⒩⒪⒫⒬⒭⒠⒯⒰⒱⒲⒳⒴⒵
Regional Indicator 🇦🇧🇨🇩🇪🇫🇬🇭🇮🇯🇰🇱🇲🇳🇴🇵🇶🇷🇸🇹🇺🇻🇼🇽🇾🇿🇦🇧🇨🇩🇪🇫🇬🇭🇮🇯🇰🇱🇲🇳🇴🇵🇶🇷🇪🇹🇺🇻🇼🇽🇾🇿
Squared 🄰🄱🄲🄳🄴🄵🄶🄷🄸🄹🄺🄻🄼🄽🄾🄿🅀🅁🅂🅃🅄🅅🅆🅇🅈🅉🄰🄱🄲🄳🄴🄵🄶🄷🄸🄹🄺🄻🄼🄽🄾🄿🅀🅁🄴🅃🅄🅅🅆🅇🅈🅉
Squared (neg) 🅰🅱🅲🅳🅴🅵🅶🅷🅸🅹🅺🅻🅼🅽🅾🅿🆀🆁🆂🆃🆄🆅🆆🆇🆈🆉🅰🅱🅲🅳🅴🅵🅶🅷🅸🅹🅺🅻🅼🅽🅾🅿🆀🆁🅴🆃🆄🆅🆆🆇🆈🆉
YOLObro
    135
YOLObro   2019-05-20 23:06:34 +08:00
酷炫吊炸天的游戏 ID
Biwood
    136
Biwood   2019-05-20 23:06:46 +08:00
Unicode 中的一个码位区段,数学字母数字符号( Mathematical Alphanumeric Symbols )

https://zh.wikipedia.org/wiki/%E6%95%B0%E5%AD%A6%E5%AD%97%E6%AF%8D%E6%95%B0%E5%AD%97%E7%AC%A6%E5%8F%B7
antknox
    137
antknox   2019-05-20 23:21:13 +08:00
𝕀 𝕝𝕠𝕧𝕖 𝕪𝕠𝕦 𝕥𝕙𝕣𝕖𝕖 𝕥𝕙𝕠𝕦𝕤𝕒𝕟𝕕.
gamesme
    138
gamesme   2019-05-21 03:26:44 +08:00
我就想问问谁打的 tag(滑稽
githua
    139
githua   2019-05-21 08:54:49 +08:00
不是字体,是 unicode 的一部分,跟汉字一样,每个字符都占一个坑。
可以把它们复制到: https://www.githua.com/tool/unicode.html
转换一下,就原形毕露。
gweipingzhang
    140
gweipingzhang   2019-05-21 09:06:20 +08:00
import { serif } from "wired-fonts"

serif("I love you three thousand.", { fontStyle: "bold-italic" })
gweipingzhang
    141
gweipingzhang   2019-05-21 09:06:58 +08:00
𝕴 𝖑𝖔𝖛𝖊 𝖞𝖔𝖚 𝖙𝖍𝖗𝖊𝖊 𝖙𝖍𝖔𝖚𝖘𝖆𝖓𝖉.
xhunks
    142
xhunks   2019-05-21 09:22:06 +08:00
ℐ 𝓁ℴ𝓋ℯ 𝓎ℴ𝓊 𝓉𝒽𝓇ℯℯ 𝓉𝒽ℴ𝓊𝓈𝒶𝓃𝒹
vipdog73
    143
vipdog73   2019-05-21 09:24:33 +08:00
有没有花样中文字体
konikoo
    144
konikoo   2019-05-21 09:34:36 +08:00
@co3site gakki 不爱你爱我
Chinikin
    145
Chinikin   2019-05-21 10:12:47 +08:00
import { serif } from "weird-fonts"

serif("I love you three thousand.", { fontStyle: "bold-italic" })
qingx
    146
qingx   2019-05-21 10:25:46 +08:00
&#32;&#127816;&#127817;&#127820;&#127821;&#127823;&#127824;&#32;&#78160;&#127822;&#127464;&#127475;&#32;&#67;&#104;&#105;&#110;&#97;&#32;&#20320;&#22909;&#20013;&#22269;&#10;
571726193
    147
571726193   2019-05-21 10:36:30 +08:00
@nmdx 老哥 来个 完整的啊 新手 太菜 看不懂,求喂
RyanOne
    148
RyanOne   2019-05-21 11:03:30 +08:00
&#112;&#821;&#769;&#788;&#838;&#784;&#833;&#849;&#781;&#787;&#864;&#832;&#773;&#794;&#792;&#858;&#839;&#813;&#117;&#822;&#864;&#794;&#795;&#768;&#783;&#781;&#851;&#796;&#796;&#813;&#817;&#819;&#791;&#825;&#853;&#858;&#812;&#828;&#818;&#852;&#804;&#592;&#824;&#849;&#778;&#777;&#782;&#795;&#856;&#833;&#775;&#835;&#776;&#852;&#816;&#803;&#827;&#798;&#815;&#793;&#815;&#806;&#115;&#820;&#836;&#864;&#775;&#777;&#780;&#849;&#861;&#848;&#771;&#803;&#853;&#857;&#816;&#816;&#818;&#805;&#110;&#822;&#769;&#779;&#849;&#843;&#836;&#773;&#781;&#830;&#842;&#836;&#846;&#825;&#812;&#790;&#807;&#803;&#796;&#846;&#857;&#854;&#804;&#816;&#813;&#858;&#111;&#823;&#780;&#832;&#848;&#859;&#843;&#849;&#771;&#783;&#838;&#780;&#777;&#848;&#786;&#768;&#798;&#815;&#858;&#858;&#814;&#814;&#805;&#828;&#816;&#851;&#812;&#826;&#613;&#824;&#849;&#844;&#776;&#769;&#860;&#826;&#801;&#853;&#839;&#819;&#813;&#790;&#798;&#803;&#858;&#826;&#805;&#802;&#841;&#647;&#821;&#856;&#768;&#838;&#778;&#831;&#836;&#776;&#864;&#836;&#786;&#830;&#769;&#773;&#793;&#827;&#815;&#806;&#809;&#812;&#817;&#808;&#32;&#821;&#780;&#864;&#864;&#781;&#788;&#831;&#777;&#802;&#854;&#812;&#814;&#815;&#803;&#798;&#800;&#860;&#860;&#797;&#839;&#828;&#792;&#860;&#477;&#821;&#772;&#809;&#814;&#477;&#822;&#861;&#768;&#776;&#843;&#775;&#844;&#844;&#769;&#852;&#798;&#812;&#793;&#633;&#822;&#831;&#776;&#843;&#843;&#791;&#613;&#822;&#789;&#795;&#788;&#861;&#794;&#780;&#769;&#831;&#861;&#787;&#771;&#856;&#774;&#794;&#859;&#827;&#851;&#793;&#828;&#810;&#814;&#791;&#800;&#812;&#851;&#790;&#818;&#811;&#807;&#647;&#821;&#856;&#836;&#856;&#788;&#836;&#788;&#774;&#832;&#830;&#844;&#799;&#800;&#800;&#800;&#801;&#792;&#837;&#810;&#32;&#820;&#835;&#779;&#784;&#861;&#855;&#777;&#846;&#819;&#858;&#819;&#839;&#828;&#110;&#824;&#842;&#834;&#829;&#834;&#834;&#836;&#834;&#864;&#835;&#836;&#859;&#835;&#853;&#854;&#818;&#817;&#800;&#852;&#803;&#839;&#800;&#813;&#111;&#820;&#776;&#832;&#779;&#770;&#772;&#772;&#779;&#848;&#779;&#785;&#839;&#805;&#793;&#807;&#853;&#819;&#793;&#807;&#791;&#819;&#793;&#839;&#654;&#820;&#778;&#849;&#855;&#836;&#832;&#777;&#783;&#839;&#799;&#807;&#815;&#818;&#839;&#851;&#803;&#837;&#827;&#845;&#828;&#812;&#32;&#824;&#772;&#825;&#811;&#800;&#840;&#808;&#805;&#800;&#814;&#477;&#820;&#789;&#768;&#843;&#776;&#838;&#832;&#813;&#798;&#810;&#841;&#652;&#822;&#834;&#828;&#810;&#812;&#791;&#804;&#809;&#805;&#111;&#821;&#855;&#783;&#770;&#836;&#832;&#842;&#800;&#851;&#798;&#804;&#853;&#797;&#801;&#840;&#860;&#804;&#860;&#858;&#792;&#108;&#823;&#788;&#778;&#830;&#840;&#799;&#854;&#840;&#796;&#857;&#818;&#839;&#32;&#823;&#794;&#787;&#835;&#801;&#841;&#791;&#792;&#305;&#824;&#829;&#857;&#791;&#797;&#804;&#816;&#805;&#798;&#841;&#828;&#827;&#814;
knightgao2
    149
knightgao2   2019-05-21 11:07:51 +08:00
```
import { serif } from "weird-fonts"

serif("I love you three thousand.", { fontStyle: "bold-italic" })
```
cjh1095358798
    150
cjh1095358798   2019-05-21 11:47:02 +08:00 via Android
厉害啊 大佬们
mufeng
    151
mufeng   2019-05-21 11:48:29 +08:00
@gamesme 笑死我了
itgoyo
    152
itgoyo   2019-05-21 13:44:37 +08:00
𝕴 𝖑𝖔𝖛𝖊 𝖞𝖔𝖚 𝖙𝖍𝖗𝖊𝖊 𝖙𝖍𝖔𝖚𝖘𝖆𝖓𝖉.
BlBana
    153
BlBana   2019-05-21 13:47:47 +08:00
import { serif } from "wired-fonts"
serif("I love you three thousand.", { fontStyle: "bold-italic" })
HalloCQ
    154
HalloCQ   2019-05-21 13:50:47 +08:00
import { serif } from "weird-fonts"

serif("I love you three thousand.", { fontStyle: "bold-italic" })
HalloCQ
    155
HalloCQ   2019-05-21 13:51:16 +08:00
𝑰 𝒍𝒐𝒗𝒆 𝒚𝒐𝒖 𝒕𝒉𝒓𝒆𝒆 𝒕𝒉𝒐𝒖𝒔𝒂𝒏𝒅.
chen26
    156
chen26   2019-05-21 14:16:42 +08:00
𝑰 𝒍𝒐𝒗𝒆 𝒚𝒐𝒖 𝒕𝒉𝒓𝒆𝒆 𝒕𝒉𝒐𝒖𝒔𝒂𝒏𝒅.
freeznet
    157
freeznet   2019-05-21 14:23:50 +08:00
本帖的 tag 已经要错乱了。。。
zepto
    158
zepto   2019-05-21 14:32:20 +08:00
import { serif } from "wired-fonts"

serif("I love you three thousand.", { fontStyle: "bold-italic" }) // 𝑰 𝒍𝒐𝒗𝒆 𝒚𝒐𝒖 𝒕𝒉𝒓𝒆𝒆 𝒕𝒉𝒐𝒖𝒔𝒂𝒏𝒅.
willimzenger
    159
willimzenger   2019-05-21 14:33:13 +08:00
import { serif } from "weird-fonts"

serif("I love you three thousand.", { fontStyle: "bold-italic" })
jsnjfz
    160
jsnjfz   2019-05-21 19:42:16 +08:00
然而并不支持中文字体
cjh1095358798
    161
cjh1095358798   2019-05-21 20:50:22 +08:00
```
import { serif } from "wired-fonts"

serif("I love you three thousand.", { fontStyle: "bold-italic" })
```
cjh1095358798
    162
cjh1095358798   2019-05-21 20:51:06 +08:00
怎么打出来的啊 ,求解各位老哥 ,复制代码 我没用啊
beizhedenglong
    163
beizhedenglong   2019-05-22 10:23:06 +08:00
@cjh1095358798 老哥代码得运行才能打出来
beizhedenglong
    164
beizhedenglong   2019-05-22 16:06:52 +08:00
@jsnjfz 这其实是特殊字符,中文的话,基数太大啦
jsnjfz
    165
jsnjfz   2019-05-22 16:10:57 +08:00
@beizhedenglong 但其实中文的需求量会更大
beizhedenglong
    166
beizhedenglong   2019-05-22 16:15:16 +08:00
@jsnjfz 我估计 unicode 都没有对应的编码
jsnjfz
    167
jsnjfz   2019-05-22 16:30:36 +08:00
@beizhedenglong 嗯应该是没的,出来会一堆乱码
MichaelAbel
    168
MichaelAbel   2019-11-02 15:15:49 +08:00 via Android
"𝑰 𝒍𝒐𝒗𝒆 𝒚𝒐𝒖 𝒕𝒉𝒓𝒆𝒆 𝒕𝒉𝒐𝒖𝒔𝒂𝒏𝒅."
1  2  
关于   ·   FAQ   ·   API   ·   我们的愿景   ·   广告投放   ·   感谢   ·   实用小工具   ·   1136 人在线   最高记录 5268   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 28ms · UTC 19:47 · PVG 03:47 · LAX 11:47 · JFK 14:47
♥ Do have faith in what you're doing.