Re: Printing To Pdf Linux Rendering

2020-12-03 Thread Pi Digital via use-livecode
That’s a possibility. Interesting. I’ll give it a go when I’m more awake. Thanks Richard Sean Cole Pi Digital > On 4 Dec 2020, at 06:16, Richard Gaskin via use-livecode > wrote: > > Sean Cole wrote: >> I've got a CentOS7 server that I am printing reports from as PDFs. No >> matter which fon

Re: Printing To Pdf Linux Rendering

2020-12-03 Thread Richard Gaskin via use-livecode
Sean Cole wrote: I've got a CentOS7 server that I am printing reports from as PDFs. No matter which font or style I use I get occasional anomalies where characters from words get placed over each other like a kerning issue gone mental. Bad rendering: https://www.dropbox.com/s/v09vacw8x3873qh/Scr

Printing To Pdf Linux Rendering

2020-12-03 Thread Sean Cole (Pi) via use-livecode
Hi all, I've got a CentOS7 server that I am printing reports from as PDFs. No matter which font or style I use I get occasional anomalies where characters from words get placed over each other like a kerning issue gone mental. Bad rendering: https://www.dropbox.com/s/v09vacw8x3873qh/Screenshot%20

Re: Translate Code?

2020-12-03 Thread Roger Guay via use-livecode
Thank you, Alex. This gives me something to play with. Roger > On Dec 3, 2020, at 3:45 PM, Alex Tweedly via use-livecode > wrote: > > I'll have a try - though it's in R, not Python - and I've never used R -) > > constant alpha = 2 > constant n = 1000 > -- x, y are arrays - initialised to 0 al

Re: Translate Code?

2020-12-03 Thread Alex Tweedly via use-livecode
I'll have a try - though it's in R, not Python - and I've never used R -) constant alpha = 2 constant n = 1000 -- x, y are arrays - initialised to 0 already for LC, so no need for "rep" repeat with i = 2 to n   -- runif(1) returns a random between 0 and 1, so do something similar   put (random(1

Translate Code?

2020-12-03 Thread Roger Guay via use-livecode
Can someone please translate the code below into LC ? I believe it to be Python? alpha=2 n=1000 x=rep(0,n) y=rep(0,n) for (i in 2:n){ theta=runif(1)*2*pi f=runif(1)^(-1/alpha) x[i]=x[i-1]+f*cos(theta) y[i]=y[i-1]+f*sin(theta) } Thanks very much, Roger

Re: Trying to use the Segmented Control

2020-12-03 Thread Ralf Bitter via use-livecode
Hi Roland, I added a custom property "multipleHighlights" to the widgets group (segmented control) of the demo stack and modified the behavior script, so that the functionality is on par with the segmented control widget. See: https://github.com/revig/universal-button-widget/releases/tag/1.0.1

Re: Trying to use the Segmented Control

2020-12-03 Thread R.H. via use-livecode
@ Richmond Richmond, to be honest, I am quite ignorant about developing widgets. I never took the time to dig deep into them. It is certainly my fault. So, I cannot say whether or not it is hard work and how much work. But from a user (developer) perspective, I think we can freely formulate our w

Re: Trying to use the Segmented Control

2020-12-03 Thread R.H. via use-livecode
@ Ralf Hi Ralf Your link and what I can see looks very promising. I will certainly try this out. Thanks a lot. At first glance, it looks very professional. I guess it is ... ))) Roland ___ use-livecode mailing list use-livecode@lists.runrev.com Please

Re: Trying to use the Segmented Control

2020-12-03 Thread Richmond via use-livecode
Yes, it is a nice widget. But, because it is a widget it has several quite obvious and annoying limitations when compared with making your own thing using the 'old fashioned' objects in LiveCode. At this point things come to some hard choices: 1. Do you want a quick-and-easy, one-size-fits-al