0

希望这是一个非常简单的问题,但是很多谷歌搜索都没有找到答案!

我想使用支持 Extended-D 的Junicode在网页上显示拉丁语 Extended-D 集中的 Unicode 字符(Extended-D 的PDF 描述) 。

我想显示的代码是“A7​​60 LATIN CAPITAL LETTER VY”。

这是我的完整页面:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <title>Font Experiments</title>
    <link rel="stylesheet" type="text/css" href="css/style.css" />
</head>
<body id="home">
    &#8166;
    &#A760;
</body></html>

这就是我的样式表的样子:

@font-face {
    font-family: 'Junicode';
    src: url('../fonts/junicode-regular-webfont.eot');
    src: url('../fonts/junicode-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Junicode.woff') format('woff'),
         url('../fonts/Junicode.ttf') format('truetype'),
         url('../fonts/junicode-regular-webfont.svg#JunicodeRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}
body {
     font-family: junicode, gentium, caslon roman, serif; 
}

我已经检查并正确加载了 Junicode。但是,虽然第一个 Unicode 字符正确显示为 ῦ,但对于第二个字符,我只&#A760在页面上看到一个文字。

如何指示这应该显示为 Unicode Extended-D 字符 A760?

4

1 回答 1

1

我认为您必须更改为十六进制:

&#xA760;
于 2012-01-26T19:05:11.583 回答