0 votos
231 visualizações

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”}

Publicação antiga - exibida no idioma original
Paratext por [Expert]
(3,3k pontos)
| 231 visualizações

2 Respostas

0 votos

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.

Publicação antiga - exibida no idioma original
por (104 pontos)
0 votos

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”}

Publicação antiga - exibida no idioma original
por (304 pontos)

Perguntas relacionadas

0 votos
1 resposta 350 visualizações
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,8k perguntada Ago 8, 2017
0 votos
3 respostas 381 visualizações
Olá a todos, Este projeto usa \pn \pn* para deixar todos os nomes próprios em negrito e estou me ... funcionou. Algumas ideias sobre como corrigir isso? Abençoados, Craig
rcraigwebb 110 perguntada Ago 15, 2023
0 votos
2 respostas 203 visualizações
Um usuário deseja tornar toda uma seção de poesia em negrito. Existe uma forma de fazer isso sem ter que adicionar o marcador de ... o fim do texto em negrito (mesmo sem o \bd*).
Sara 246 perguntada Ago 5, 2024
0 votos
2 respostas 246 visualizações
Estou trabalhando na diagramação de diglotos. No Paratext, certos estilos no meu Texto Secundário (T2) aparecem mais negritos ... que você possa me dar sobre isso. John Nystrom
john_nystrom 312 perguntada Mar 23, 2021
0 votos
1 resposta 318 visualizações
(mnjames escreve) O arquivo de estilo usfm.sty tem \Italic como um dos atributos de \Marker qt . Eu gostaria de ... \Italic e \Bold, mas não encontrei uma forma de removê-las.
anônimo perguntada Abr 10, 2015
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Live in harmony with one another. Do not be proud, but be willing to associate with people of low position. Do not be conceited.
Romans 12:16
3,047 perguntas
6,007 respostas
5,672 comentários
2,027 usuários