Thanks, this should be fixed now.

On Tue, Aug 4, 2020 at 9:02 PM J. Patrick Harrington <[email protected]> wrote:
>
> I have little routine to plot a compass circle and a line showing the
> heading to a radio source. I want to plot the letters N, E, S, W and a
> legend giving the distance to the source. Here's a bit of the code:
>
> xc=. }: 1p1*int01 2000
> sx=. 0.85*sin xc
> cx=. 0.85*cos xc
> pd 'reset'
> pd options
> pd 'titlefont Arial 16 Bold'
> pd sx;cx
> pd (-sx);cx
> headx=. 0.9*sin y
> heady=. 0.9*cos y
> pd 'pensize 5;color red'
> pd (0,headx);(0,heady)
> pd 'textfont Arial 14 Bold'  NB. this has no effect
> pd 'textcolor green'
> pd 'text _0.03p 0.97p N'
> pd 'text _0.03p _0.97p S'
> pd 'text 0.93p 0p E'
> pd 'text _1p 0p W'
> pd 'textcolor blue'
> T=. '350 700 Distance to beacon ',(":x),' miles.'
> pd 'text ',T
> pd 'pdf'
>
>
> The problem is with the line (copied from the wiki)
>
> pd 'textfont Arial 14 Bold'
>
> The font type or size can be set to anything and there is no change in the
>
> text on the plot. The titlefont command works as expected.
>
> The situation is the same for j807, j901 &j902 on my Mac and under
> Ubuntu linux.
>
> Any suggestions would be appreciated.
>
> Patrick
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to