0 голосов
231 просмотров

For some reason, in some fonts, the bold or italic formatting does not appear in PrintDraft.
For instance, I have a test project using the Andika font. In PrintDraft all the text that should have been bold (section heads for example) was not bold, and the text that should have been italic was not. But if I changed the font to Times New Roman in the PrintDraft dialog, the bold and italic text appeared.

I found I could make bold and italic appear in Andika if I modified the PrintDraft-mod.tex file (inside the PrintDraft folder) to add these definitions.

\def\bold{“Andika:embolden=2”}
\def\italic{“Andika:slant=0.2”}
\def\bolditalic{“Andika:embolden=2;slant=0.2”}

I suppose this is related to the fact that in the Windows control panel, Times New Roman is a font family, if I open it I see Times New Roman Regular, Times New Roman Bold, Times New Roman Italic and Times New Roman Bold Italic. Andika is just one font, not a family.

For non-Roman scripts you may need to add a script definition to your command. This is how I enabled bold & italic for a project using the Annapurna SIL font:

\def\bold{“Annapurna SIL:script=deva;embolden=2”}
\def\italic{“Annapurna SIL:script=deva;slant=0.2”}
\def\bolditalic{“Annapurna SIL:script=deva;embolden=2;slant=0.2”}

Старое сообщение — показано на исходном языке
Paratext от [Expert]
(3,3тыс. очков)
| 231 просмотров

2 Ответов

0 голосов

Andika New Basic has bold and italic faces. But it doesn’t have as wide a character coverage as full Andika. NRSI recently created this chart to help you see if your language is covered.

Старое сообщение — показано на исходном языке
от (104 очков)
0 голосов

Be aware that the choice of digit style (under Advanced, “Choice of digit style for \c and \v”) is also controlled by these lines, via a mapping parameter. In other words, if you choose Devanagari digits in PrintDraft and then put these lines in your PrintDraft-mods.tex file, any regular digits will be Devanagari (since you haven’t included a font def line for regular), but if, say, your chapter numbers are bold they will come out as regular ASCII digits. To preserve the digit mapping you have to add it to your font def line, eg:

\def\bold{“Annapurna SIL:script=deva;embolden=2;mapping=devanagaridigits”}

Старое сообщение — показано на исходном языке
от (304 очков)

Похожие вопросы

0 голосов
1 ответ 350 просмотров
I am producing a Bible with added commentary \add \add* that I want printed in color. By default \add is Bold and Italic ... this in PT8.0 but the issue also applies to PT7.6.
Kent Spielmann 1,8тыс. задал вопрос авг 8, 2017
0 голосов
3 ответов 381 просмотров
Здравствуйте, все, В этом проекте для выделения всех собственных имён жирным шрифтом используются \pn \pn*, и я ... у кого-нибудь идеи, как это исправить? Благословений, Крейг
rcraigwebb 110 задал вопрос авг 15, 2023
0 голосов
2 ответов 203 просмотров
Пользователь хочет сделать весь раздел поэзии жирным шрифтом. Есть ли способ сделать это, не добавляя маркер жирного шрифта после ... также завершают жирный текст (даже без \bd*).
Sara 246 задал вопрос авг 5, 2024
0 голосов
2 ответов 246 просмотров
Я работаю над набором диглотов. В Paratext некоторые стили в моём вторичном тексте (T2) выглядят жирнее, чем те же ... которую вы можете мне оказать в этом вопросе. Джон Нистром
john_nystrom 312 задал вопрос мар 23, 2021
0 голосов
1 ответ 318 просмотров
(mnjames пишет) В файле стилей usfm.sty \Italic является одним из атрибутов \Marker qt . Я хотел бы, чтобы ... форматирование \Italic и \Bold, но не нашел способа отключить их.
аноним задал вопрос апр 10, 2015
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Very truly I tell you, whoever accepts anyone I send accepts me; and whoever accepts me accepts the one who sent me.
John 13:20
3,047 вопросов
6,007 ответов
5,672 комментариев
2,027 пользователей