我注意到谷歌浏览器确实只显示某些字符作为连字。以下字体包含代码点 、 和 。它还包含以下代码点序列的连字 , , .
包含代码点的序列在 Google Chrome 中不显示为连字:
@font-face {
font-family: 'aliens';
src: url('data:application/font-woff;base64,d09GRgABAAAAAAacAAsAAAAACZQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAAEsAAABqILclk09TLzIAAAFUAAAAQQAAAFZWH2BrY21hcAAAAZgAAABXAAABfnxxBHdnbHlmAAAB8AAAApIAAANoA1dLDmhlYWQAAASEAAAAMQAAADYOUN7DaGhlYQAABLgAAAAbAAAAJAcKAydobXR4AAAE1AAAAA8AAAAYE4gAAGxvY2EAAATkAAAADgAAAA4C8AIQbWF4cAAABPQAAAAfAAAAIAEZAGBuYW1lAAAFFAAAAR0AAAHyFNvC+HBvc3QAAAY0AAAAZgAAAJG4ZoJgeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiCWAtNMDGwMPEBRJiCPFUiCaEYGZgCf2gWNAHicY2BkdmScwMDKwMBUxbSHgYGhB0IzPmAwZGQCijKwMjNgBQFprikMDv+BgFnhvwVDFLMCwwmgMCNIDgD5Mw02AAAAeJztkLENgDAQA+9JoEAMwBCUjEDFUEyXASgYJX1wLMbAr3vJlisDI5DEJjLESdB1KA3nidl5ZpUfdFJrxt2Y+LX475/Tds9tNA9RL9PXi1qMOi/Ojw9gAHicVVE7b9NQFL6Pxo7dxLETP5I0Nklcx3kU5+E4rkqavlQBrUAQHq1ahgraDm3hB9AFAQNIbAjUgYXSn4AyMTCgTh0YGVjY2GBkaF2ukxLSc33e9+j6fB9AgAjeR1tgBlwFAHJYEmW71pjCCk3RHNSzFnLqDVfnsB/WG3ZNlkRKFzVk11p4CrawC1vQNTlI4/cTWzcq4ZB8JZdM5qm8YuSum7EER2nSdvra8n1HKWbEeCIixcWIonLZuemmG79YXH3wcNL7VtqZQSt7i2hj9uXzXUcUqmZKqw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/brGBRoEjSiSwV/4fxUxY73RaYY4Is6v+mv3aZxI4nhkzW5xZW5w4e0HXIafOmTGoSCt/t0uX3IZO43sHOin9CDt/q8ESU+78Xz7yr1e/MPVTYgAAAHicbcpBDkAwEIXhmaJCws5+4iajikmqbaj7XwURC4l/8RZfHih4quE/jQozzLFAjSX0K6fFXiOGHQ3BjbSbTWIiw1HSZdywE+tpDX5Pdmsjz5YmNuJnOmLFFDzd1n1urwKc/vsY7wAA');
}
td {
font-family: 'aliens';
letter-spacing: .000001em;
font-variant-ligatures: contextual;
text-rendering: optimizeLegibility;
}
<table>
<tr>
<th>Symbol</th>
<th>Description</th>
<th>Does it work in Chrome?</th>
</tr>
<tr>
<td></td><td>ALIEN MONSTER</td><td>✔️</td>
</tr>
<tr>
<td></td><td>PAGE FACEING UP</td><td>✔️</td>
</tr>
<tr>
<td></td><td>ALIEN MONSTER ON PAGE</td><td>✔️</td>
</tr>
<tr>
<td></td><td>MATHEMATICAL BOLD SCRIPT CAPITAL A</td><td>✔️</td>
</tr>
<tr>
<td></td><td>A ON PAGE</td><td>❌</td>
</tr>
<tr>
<td></td><td>PAGE WITH A</td><td>❌</td>
</tr>
</table>
Safari & Firefox 不显示序列。
包含代码点的连字是否无效?ligatureS 可以包含任何代码点序列吗?这是chrome中的错误吗?