0
127 次浏览

我们本地文字使用的字体很不错,但其中的英文字母、数字和标点符号却不太理想。我能否在 ptxprint-premods.tex 或 ptxprint-mods.tex 中添加 XeTeX 命令来替换字形?我希望将大部分文本的字体设置为字体 A,但使用字体 B 中的字形来显示数字和少数标点符号。

我尝试使用后备字体(Fallback Font),并在缺失字符文本框中输入“0 1 2 3 4 5 6 7 8 9”。但 PTXprint 报错,显示通用的“Failed to create”错误。

机器翻译自 English
PTXprint (126 分) 发布 | 127 次浏览

1 个回答

0

我认为你不应该使用后备字体(fallback-font)方法,因为它会对所有数字产生不良影响,而你并不希望破坏 s1、q1 等标记。我建议采用多阶段方法:

  1. 为章节、经文等指定一个能良好显示数字的不同字体,并将其应用于这些样式。
  2. 创建一个自定义字符样式,指定用于正文中数字的字体。
    例如,这样你可以获得良好的效果:
\s1 The feeding of the \+znum 5000\+znum*
  1. 制定一些更改规则,不要将章节/经文编号包裹在 \+znum \+znum*中,但要包裹其他数字。
  2. 我可能遗漏了一些内容……
机器翻译自 English
(1.1k 分) 发布

未找到相关问题

Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
May the God who gives endurance and encouragement give you the same attitude of mind toward each other that Christ Jesus had.
Romans 15:5
3,049 个问题
6,007 个回答
5,672 条评论
2,029 位用户