unicode15說明:
https://www.unicode.org/charts/
H區說明:
https://www.unicode.org/charts/PDF/U31350.pdf
那麼,如何顯示這些漢字?
字體網站zhs.glyphwiki.org/提供了這個服務,你只需要把一個漢字的十六進制貼進以下網址:https://zhs.glyphwiki.org/glyph/u十六進制.svg,再囊括進img中即可。示例:注意要把十六進制中的英文轉成小寫。
如何查一個漢字的unicode十六進制?
很多網站提供unicode查詢:- https://ejsoon.win/cjk/
- https://www.chinesecj.com/cjdict/
- https://www.unicode.org/charts/unihan.html
如何更優雅的在本論壇使用glyph的字體服務?
如果壇主@圈宝有空且願意加上這個bbcode(已添加,感謝!),那麼我們就可以這樣:[ gh ] 3142e [ /gh ]
顯示上面的漢字。還可以指定字體大小:
[ gh=120 ] 3142e [ /gh ]
就是120px的大小。
bbcode:
代码: 全选
[gh={NUMBER;defaultValue=36}]{TEXT}[/gh]
代码: 全选
<img src="https://zhs.glyphwiki.org/glyph/u{TEXT}.svg" style="width: {NUMBER}px; display: inline;" alt="{TEXT}">
代码: 全选
glyph font, http://zhs.glyphwiki.org/