你好 @kentS - 是的,当然有。但我刚才还得停下来回忆一下我们最近把它藏在哪里了!
它以前是“书写系统”(Writing System)选项中的一个全局设置,位于“字体+脚本”(Fonts+Scripts)选项卡中,但现在它已成为字体属性,因此可以在任何层级启用/禁用此功能:
a) 若要全局更改,请选择主要字体(正文,Body Text),并在字体选择器对话框底部出现的选项中更改:
b) 若要更改段落(甚至字符)样式级别的数字映射(Digit mapping),请使用“设置字体”(Set Font)按钮,然后仅为该特定样式更改数字映射。顺便说一下 - 添加此功能是因为某些人要求多语言标题 - 每种语言使用不同的数字,因此我们必须在样式级别以及全局级别都能开启/关闭此功能。
哦,如果这些对话框中都没有显示该选项,那只是意味着您正在使用迷你视图 (Mini View)或基本视图 (Basic View);这些高级设置仅在完整视图 (Full View)(主对话框左下角)中可用。
既然我们在这个对话框里,我顺便分享一下,有一个不太为人知的字体特性叫做 extend,可用于水平拉伸或缩小字体。例如,这里字体将缩小到正常宽度的 85%:
若要放大字体,请使用 extend=1.05,它将拉伸至 105%
附注。似乎存在一个回归问题。我自己也无法让 \h1 的数字以不同的样式显示。我们会尽快修复并推送更新(今天稍后发布 DV)。
Hi @kentS - Yes, of course there is. But I had to pause for a moment to remember where we hid it recently!
It used to be a global setting in the Writing System options which was available on the Fonts+Scripts tab, but has now been made a font property so that the feature can be enabled/disabled at any level:
a) To change it globally, select the primary font (Body Text) and change it in the option that appears at the bottom of the Font picker dialog:
b) To change the Digit mapping at the Paragraph (or even Character) style level, use the Set Font button, and then change the Digit Mapping just for that particular style. BTW - this feature was added because certain people asked for headers in multiple languages - each with different digits, so we had to be able to turn this on/off at the style level as well as globally.
Oh, and if it doesn’t appear on either of these dialogs, it just means that you’re using at the Mini View , or the Basic View ; and these advanced settings are only available in the Full View (bottom left of main dialog).
And while we’re in this dialog, I might as well share that there is a lesser-known font feature called extend which can be used to stretch or shrink a font horizontally. So, for example, here the font will shrink to 85% of its normal width:
To grow the font, use extend=1.05 and it will be stretched to 105%
PS. There seems to be a regression. I can’t get the \h1 digits to style differently myself. We’ll fix it ASAP and push an update out (DV later today).
机器翻译自 English 显示原文