View Issue Details

IDProjectCategoryView StatusLast Update
0001023contextbug reportpublic2021-01-28 11:56
Reporterjemmybutton Assigned ToHans Hagen  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Summary0001023: outlinetext in MetaPost inside ConTeXt doesn't respect RTL text
DescriptionWith ConTeXt ver: 2020.03.10 14:44 MKIV beta fmt: 2020.7.20 outlinetext doesn't respect RTL text, while textext works just fine.
Steps To Reproduce\definefontfamily [font] [serif] [amiri] [features=arabic]
\setcharacterstripping[1]
\setupdirections[bidi=global,method=one]
\setupbodyfont[font,9pt]
\starttext
\startMPcode
draw textext("كتاب") withcolor green;
draw outlinetext("كتاب") shifted (0, -15pt) withcolor red;
\stopMPcode
\stoptext
TagsNo tags attached.

Activities

jemmybutton

2021-01-27 23:15

reporter  

RTLbug.png (13,565 bytes)   
RTLbug.png (13,565 bytes)   

Hans Hagen

2021-01-28 11:56

manager   ~0001732

supported in next version (not entirely trivial)
arabic-001.pdf (209,393 bytes)
arabic-001.tex (720 bytes)   
\definefontfamily [font] [serif] [amiri] [features=arabic]

\setupdirections
  [bidi=global,
   method=one]

\setupbodyfont[font,9pt]

\starttext

    \startTEXpage
        BEFORE
    \stopTEXpage

    \startMPpage[offset=1pt]
        draw outlinetext.d("x\inframed{كتاب !!!!}x") (withcolor blue withpen pencircle scaled .1);
    \stopMPpage

    \startMPpage[offset=1pt]
        draw outlinetext.d("\framed[align=normal,frame=off]{\dorecurse{100}{كتاب }}") (withcolor blue withpen pencircle scaled .1);
    \stopMPpage

    \startMPpage[offset=1pt]
        draw outlinetext.d("كتاب") (withcolor blue withpen pencircle scaled .1);
    \stopMPpage

    \startTEXpage
        AFTER
    \stopTEXpage

\stoptext
arabic-001.tex (720 bytes)   

Issue History

Date Modified Username Field Change
2021-01-27 23:15 jemmybutton New Issue
2021-01-27 23:15 jemmybutton File Added: RTLbug.png
2021-01-28 11:56 Hans Hagen File Added: arabic-001.pdf
2021-01-28 11:56 Hans Hagen File Added: arabic-001.tex
2021-01-28 11:56 Hans Hagen Note Added: 0001732
2021-01-28 11:56 Hans Hagen Assigned To => Hans Hagen
2021-01-28 11:56 Hans Hagen Status new => closed
2021-01-28 11:56 Hans Hagen Resolution open => fixed