Re: AW: vertical text?

2017-04-12 Thread Richard Gaskin via use-livecode

hh wrote:

>> Richard G. wrote:
>> On disk the Linux build of CEF takes up 135 MBs, and like any
>> browser I would imagine it more than doubles RAM requirements
>> for an app using it.
>
> I would even give a full Gigabyte of RAM if this could make the
> browser widget work on linux ...

I've had pretty good luck on Ubuntu 14.04 64-bit - what's your setup?

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: AW: vertical text?

2017-04-12 Thread hh via use-livecode
> Richard G. wrote:
> On disk the Linux build of CEF takes up 135 MBs, and like any browser I
> would imagine it more than doubles RAM requirements for an app using it. 

I would even give a full Gigabyte of RAM if this could make the browser
widget work on linux ...

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: AW: vertical text?

2017-04-12 Thread Richard Gaskin via use-livecode

Roger Eller wrote:

> On Wed, Apr 12, 2017 at 2:12 PM, Richard Gaskin wrote:
>> >> Jonathan L. wrote:
>> >> This is also easy to do in a browser widget, if you don't mind
>> >> the "always on top" aspect of browser widgets.
...
>> It's great when you truly need an embedded web browser, but for small
>> one-offs like this I'd be reluctant to add the extra RAM and disk
>> space requirements.
>
> This is really the first mention I've seen of the resource
> requirements of certain widgets.

Most widgets use only what's in the LiveCode engine, and don't carry 
much additional overhead beyond what we might expect for the respective 
elements involved (images, code, etc.).


The browser widget is a very special case, since it's an entire browser 
application embedded within your app.


On disk the Linux build of CEF takes up 135 MBs, and like any browser I 
would imagine it more than doubles RAM requirements for an app using it.


When you need an embedded browser it's awesome.  It's just a lot to add 
if you only need small things like rotated text, which can be handled 
well with LC Script or LC Builder in same process your app is already 
running in.



> Assuming that overhead is minimal just because it is so
> darn easy to add to a stack will be our downfall.  :)

macOS is so easy to use it must fit on a single floppy. :)

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: AW: vertical text?

2017-04-12 Thread Roger Eller via use-livecode
This is really the first mention I've seen of the resource requirements of
certain widgets.  Assuming that overhead is minimal just because it is so
darn easy to add to a stack will be our downfall.  :)

~Roger


On Wed, Apr 12, 2017 at 2:12 PM, Richard Gaskin via use-livecode <
use-livecode@lists.runrev.com> wrote:

> hh wrote:
> >> Jonathan L. wrote:
> >> This is also easy to do in a browser widget, if you don't mind
> >> the "always on top" aspect of browser widgets.
> >
> > Right, but only to a certain degree.
> >
> > LC Builder has _a lot_ of possibilities different from using the
> > javascript of a browser widget.
> >
> > The very basic widget linked above, for example ...
> > ... allows the user to select _any_ textfont on _his_ system
> > or available in the stack.
> > ... can have everything outside the rotated box transparent.
> >
> > Both is not doable in a browser widget (and not by _any_ browser).
>
> No to mention that using a browser widget means adding an entire browser
> process to your LiveCode application.
>
> It's great when you truly need an embedded web browser, but for small
> one-offs like this I'd be reluctant to add the extra RAM and disk space
> requirements.
>
> --
>  Richard Gaskin
>  Fourth World Systems
>  Software Design and Development for the Desktop, Mobile, and the Web
>  
>  ambassa...@fourthworld.comhttp://www.FourthWorld.com
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: AW: vertical text?

2017-04-12 Thread Richard Gaskin via use-livecode

hh wrote:
>> Jonathan L. wrote:
>> This is also easy to do in a browser widget, if you don't mind
>> the "always on top" aspect of browser widgets.
>
> Right, but only to a certain degree.
>
> LC Builder has _a lot_ of possibilities different from using the
> javascript of a browser widget.
>
> The very basic widget linked above, for example ...
> ... allows the user to select _any_ textfont on _his_ system
> or available in the stack.
> ... can have everything outside the rotated box transparent.
>
> Both is not doable in a browser widget (and not by _any_ browser).

No to mention that using a browser widget means adding an entire browser 
process to your LiveCode application.


It's great when you truly need an embedded web browser, but for small 
one-offs like this I'd be reluctant to add the extra RAM and disk space 
requirements.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: AW: vertical text?

2017-04-12 Thread Roger Eller via use-livecode
That's nice, but text angle should come as standard a field property (in my
opinion).  There are many use cases for field labels or table headers to
sit on an angle for screen space consideration.

~Roger


On Wed, Apr 12, 2017 at 11:25 AM, Paul Richards via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Not sure if this is of any help, but I came across a course by Livecode
> where they guide you through creating a rotating text Widget.
>
> https://livecode.com/courses/extension-course/  |
> https://livecode.com/lessons/rotated-text-widget/
>
> You might need to be logged into LC page
>
>
> -Original Message-
> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On
> Behalf Of Jonathan Lynch via use-livecode
> Sent: 12 April 2017 16:14
> To: How to use LiveCode <use-livecode@lists.runrev.com>
> Cc: jonathandly...@gmail.com; hh <h...@hyperhh.de>
> Subject: Re: AW: vertical text?
>
> Having rotated text with transparent backgrounds could be very nice :)
>
> I was just suggesting the browser widget as the cheap and easy way.
>
>
>
> Sent from my iPhone
>
> On Apr 12, 2017, at 10:37 AM, hh via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> >> Jonathan L. wrote:
> >> This is also easy to do in a browser widget, if you don't mind the
> >> "always on top" aspect of browser widgets.
> >
> > Right, but only to a certain degree.
> >
> > LC Builder has _a lot_ of possibilities different from using the
> > javascript of a browser widget.
> >
> > The very basic widget linked above, for example ...
> > ... allows the user to select _any_ textfont on _his_ system or
> > available in the stack.
> > ... can have everything outside the rotated box transparent.
> >
> > Both is not doable in a browser widget (and not by _any_ browser).
>
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: AW: vertical text?

2017-04-12 Thread Paul Richards via use-livecode
Not sure if this is of any help, but I came across a course by Livecode where 
they guide you through creating a rotating text Widget. 

https://livecode.com/courses/extension-course/  | 
https://livecode.com/lessons/rotated-text-widget/ 

You might need to be logged into LC page 


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
Jonathan Lynch via use-livecode
Sent: 12 April 2017 16:14
To: How to use LiveCode <use-livecode@lists.runrev.com>
Cc: jonathandly...@gmail.com; hh <h...@hyperhh.de>
Subject: Re: AW: vertical text?

Having rotated text with transparent backgrounds could be very nice :)

I was just suggesting the browser widget as the cheap and easy way.



Sent from my iPhone

On Apr 12, 2017, at 10:37 AM, hh via use-livecode 
<use-livecode@lists.runrev.com> wrote:

>> Jonathan L. wrote:
>> This is also easy to do in a browser widget, if you don't mind the 
>> "always on top" aspect of browser widgets.
> 
> Right, but only to a certain degree.
> 
> LC Builder has _a lot_ of possibilities different from using the 
> javascript of a browser widget.
> 
> The very basic widget linked above, for example ...
> ... allows the user to select _any_ textfont on _his_ system or 
> available in the stack.
> ... can have everything outside the rotated box transparent.
> 
> Both is not doable in a browser widget (and not by _any_ browser).
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: AW: vertical text?

2017-04-12 Thread Jonathan Lynch via use-livecode
Having rotated text with transparent backgrounds could be very nice :)

I was just suggesting the browser widget as the cheap and easy way.



Sent from my iPhone

On Apr 12, 2017, at 10:37 AM, hh via use-livecode 
 wrote:

>> Jonathan L. wrote:
>> This is also easy to do in a browser widget, if you don't mind
>> the "always on top" aspect of browser widgets.
> 
> Right, but only to a certain degree.
> 
> LC Builder has _a lot_ of possibilities different from using the
> javascript of a browser widget.
> 
> The very basic widget linked above, for example ...
> ... allows the user to select _any_ textfont on _his_ system
> or available in the stack.
> ... can have everything outside the rotated box transparent.
> 
> Both is not doable in a browser widget (and not by _any_ browser).
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: AW: vertical text?

2017-04-12 Thread hh via use-livecode
> Jonathan L. wrote:
> This is also easy to do in a browser widget, if you don't mind
> the "always on top" aspect of browser widgets.

Right, but only to a certain degree.

LC Builder has _a lot_ of possibilities different from using the
javascript of a browser widget.

The very basic widget linked above, for example ...
... allows the user to select _any_ textfont on _his_ system
or available in the stack.
... can have everything outside the rotated box transparent.

Both is not doable in a browser widget (and not by _any_ browser).

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: AW: vertical text?

2017-04-12 Thread Jonathan Lynch via use-livecode
This is also easy to do in a browser widget, if you don't mind the "always on 
top" aspect of browser widgets.

Sent from my iPhone

> On Apr 12, 2017, at 10:02 AM, hh via use-livecode 
>  wrote:
> 
> Hi Tiemo,
> 
> LC Script gives you only the possibility to have a rotated _image_
> of "real" horizontal text.
> 
> In LC Builder you have the possibility for rotating "real" horizontal
> text itself (use your font and size), not only a snapshot.
> 
> Here is an easy example how to do that
> http://forums.livecode.com/viewtopic.php?p=148690#p148690
> 
> This is an lcb file (it has to be the only lcb-file in its folder.
> Then open it in the 'Extensions Builder' and hit "Test").
> Create your own widget from it.
> 
> Hermann
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


AW: vertical text?

2017-04-12 Thread hh via use-livecode
Hi Tiemo,

LC Script gives you only the possibility to have a rotated _image_
of "real" horizontal text.

In LC Builder you have the possibility for rotating "real" horizontal
text itself (use your font and size), not only a snapshot.

Here is an easy example how to do that
http://forums.livecode.com/viewtopic.php?p=148690#p148690

This is an lcb file (it has to be the only lcb-file in its folder.
Then open it in the 'Extensions Builder' and hit "Test").
Create your own widget from it.

Hermann

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


AW: vertical text?

2017-04-12 Thread Tiemo Hollmann TB via use-livecode
Nice conversion!
But I was looking for a rotated text by -90 degrees.
Thanks Tiemo


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von AndyP via use-livecode
Gesendet: Mittwoch, 12. April 2017 13:14
An: use-revolut...@lists.runrev.com
Cc: AndyP 
Betreff: Re: vertical text?

Try This:

Add a field named "Input"

Add this script to the field

on returnInField
  send "mouseUp" to button "Format"
end returnInField

Add a button named "Format"

Add this script to the button

local tWidth
local tHeight
local tChars
local tCount
local tTemp

on mouseUp
   
   put the formattedWidth of char 1 of fld "Input" into tWidth 
   put the formattedHeight of char 1 of fld "Input" into tHeight 
   put the number of chars of fld "Input" into tChars
   set the Width of fld "Input" to tWidth*2
   
   put fld "Input" into tTemp
   put empty into fld "Input"
   repeat with tCount = 1 to tChars
  put char tCount of tTemp into char 1 of line tCount of fld "Input"
   end repeat
   filter fld "Input" without empty
   set the height of fld "Input" to the formattedHeight of fld "Input"
   set the leftMargin of fld "Input" to 2
   set the rightMargin of fld "Input" to 2
   set the topMargin of fld "Input" to 4
   set the bottomMargin of fld "Input" to 4
   set the textAlign of fld "Input" to center
   set the textHeight of fld "Input" to the textSize
   
end mouseUp

Now enter text into the field, when you hit return the field is resized to
fit the now vertical text.




-
Andy Piddock 


My software never has bugs. It just develops random features. 

TinyIDE a Free alternative minimalist IDE Plugin for LiveCode TinyIDE 


Script editor Themer for LC http://2108.co.uk  

PointandSee is a FREE simple but full featured under cursor colour picker /
finder.
http://www.pointandsee.co.uk  - made with LiveCode
--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/vertical-text-tp4713887p47139
04.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


AW: vertical text?

2017-04-11 Thread Tiemo Hollmann TB via use-livecode
Ah, nice trick ;)
Thanks, Tiemo

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von prothero--- via use-livecode
Gesendet: Dienstag, 11. April 2017 17:54
An: How to use LiveCode 
Cc: proth...@earthlearningsolutions.org
Betreff: Re: vertical text?

Tiemo,
I do this by creating a text field, putting the text into it, sizing it to
just fit the text, capturing it to an image, rotating and placing the image
of the text field, then deleting the source text field.
Bill

William Prothero
http://es.earthednet.org

> On Apr 11, 2017, at 8:42 AM, Tiemo Hollmann TB via use-livecode
 wrote:
> 
> Hello,
> 
> Is there any trick or tweak to create real vertical text (rotated text 
> field by -90deg)?
> 
> Up to now, I workaround with an text img I rotated in photoshop.
> 
> Thanks
> 
> Tiemo
> 
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode