On 3/31/2017 11:52 AM, Marco Patzer wrote:
On Fri, 31 Mar 2017 11:46:00 +0300
Kostirya wrote:
Two hyphens do not replaced on em—dash when dejavu,14pt
Use the tlig font feature
\definefontfeature
[tlig]
[default]
[tlig=yes]
\definefontfeature
[default]
[default]
[
It did not help.
But why it is this the case, only for 14pt?
When font size is 10pt, 12pt or 16, then it is all right.
P.S.
I also found error at switchtobodyfont with dejavu font.
In the below example, switchtobodyfont not correctly worked.
This is only observed when I switch from 16pt to 14pt
On Fri, 31 Mar 2017 11:46:00 +0300
Kostirya wrote:
> Two hyphens do not replaced on em—dash when dejavu,14pt
Use the tlig font feature
\definefontfeature
[tlig]
[default]
[tlig=yes]
Marco
___
If your
No, It is not worked.
I mistakenly used a Unicode character in another test.
2017-03-31 12:13 GMT+03:00 Kostirya :
> I apologize.
> It is not hyphen symbol. It is unicode.
> Everything is working!
>
> 2017-03-31 11:46 GMT+03:00 Kostirya :
>> Hello.
>> Two hyphens do not replaced on em—dash when de
I apologize.
It is not hyphen symbol. It is unicode.
Everything is working!
2017-03-31 11:46 GMT+03:00 Kostirya :
> Hello.
> Two hyphens do not replaced on em—dash when dejavu,14pt
> :-(
>
>
>
> \starttext
> 1-2 11--22
>
> \switchtobodyfont[dejavu,14pt]
> 1-2 11--22
>
> \stoptext
_
Hello.
Two hyphens do not replaced on em—dash when dejavu,14pt
:-(
\starttext
1-2 11--22
\switchtobodyfont[dejavu,14pt]
1-2 11--22
\stoptext
___
If your question is of interest to others as well, please add an entr