LC server and fonts

Tom Glod tom at makeshyft.com
Sat Mar 3 17:29:22 CET 2018


That would work perfectly in desktop....but on server...... its different
for some reason.

You are displaying field and exporting from a browser window correct?

On Sat, Mar 3, 2018 at 10:19 AM, jbv via use-livecode <
use-livecode at lists.runrev.com> wrote:

> Hello
> Thanks for the reply, but that's not what I need.
> For instance, here's what I want to do :
>    create field
>    put "my text" into fld 1
>    set the textfont of fld 1 to "myfont.ttf'
>    export snapshot from fld 1 to file "File1.png" as PNG
> Therefore I need to "load" ttf fonts somehow.
>
> Best
> jbv
>
> On Sat, March 3, 2018 4:10 pm, Tom Glod via use-livecode wrote:
> > LC server generates html code to display text..... so you need to use
> > inline CSS, external CSS to generate the text you want using HTML
> >
> > On Fri, Mar 2, 2018 at 5:14 AM, jbv via use-livecode <
> > use-livecode at lists.runrev.com> wrote:
> >
> >> Hello list
> >> How can I load ttf font files with LC server, at least version 7.1
> >> available on my on-rev account ? Neither "revFontLoad" nor "start using
> >> font file" seem to work... And the list of available fonts returned by
> >> "the fontNames" is quite
> >> limited...
> >>
> >> Thanks in advance.
> >> jbv
> >>
> >>
> >> _______________________________________________
> >> use-livecode mailing list use-livecode at 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 at 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 at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


More information about the use-livecode mailing list