我尝试使用一种中文字体HGDH_CNKI.TTF
。我把它放进去sbid/Assets/Fonts/
(我的项目名称是sbid)。
然后我像这样尝试,我使用:
<Button Command="{Binding AddProtocol}" FontFamily="/Assets/Fonts/HGDH_CNKI.TTF#HGDH_CNKI">新协议</Button>
或者
<Button Command="{Binding AddProtocol}" FontFamily="avares://sbid/Assets/Fonts/HGDH_CNKI.TTF#HGDH_CNKI">新协议</Button>
它仍然不起作用。我还需要做什么其他步骤吗?