[XeTeX] Stroking a TeX rule in XeTeX

2018-03-21 Thread Philip Taylor (RHUoL)
The following code applies a 3 pt blue stroke to red-filled glyphs, but has the undesirable side-effect of changing the colour of TeX rules to the stroke colour.  Is it possible, does anyone know, to control the stroke and fill colour of TeX rules (a) independently, and (b) orthogonally to that

Re: [XeTeX] Stroking a TeX rule in XeTeX

2018-03-21 Thread Zdenek Wagner
Yes, both in pdftex in xetex the stroke colour and fill colour are independent. You can even change the rendering mode of text and print glyph outlines in one colour with a specified line width and fill them with another colour. It is shown in my article: Zdeněk Wagner: Tisk obrysu písma v PDF whic

Re: [XeTeX] Stroking a TeX rule in XeTeX

2018-03-21 Thread Philip Taylor (RHUoL)
Many thanks, Zdeněk.  For the benefit of both posterity and non-CZ speakers, I append Google's translation of your article : ** Phil. Print outline of the font in PDF Zdenek Wagner The article shows the possibility of rendering the contour