Text formatting in LC HTML5 apps?

Terry Judd terry.judd at unimelb.edu.au
Tue Mar 28 17:34:43 EDT 2017


Well, perhaps not so sure now. I’d like to get different styles within the one field (normal and bold) but if I include both normal and bold versions of a font in the standalone then the bold one seems to take precedence and all text in the app is bold.

Terry...

On 29/03/2017 7:42 am, "use-livecode on behalf of Terry Judd via use-livecode" <use-livecode-bounces at lists.runrev.com on behalf of use-livecode at lists.runrev.com> wrote:

    OK, thanks Peter – I’ve got it displaying a different font now. Still struggling with styles but I’m sure I’ll get there.
    
    Terry...
    
    On 28/03/2017 11:50 pm, "use-livecode on behalf of Peter TB Brett via use-livecode" <use-livecode-bounces at lists.runrev.com on behalf of use-livecode at lists.runrev.com> wrote:
    
        
        
        On 28/03/2017 10:32, Terry Judd via use-livecode wrote:
        > Is there any way to display styled text in HTML5 apps? There only
        > seems to be one font supported and I can change the colour and size
        > but nothing else sticks (LC Community 9.0.0 dp5).
        
        You can add any additional fonts you like by putting them in the 
        `/boot/fonts/` directory in the standalone archive.
        
                                                     Peter
        
        
        -- 
        Dr Peter Brett <peter.brett at livecode.com>
        LiveCode Technical Project Manager
        
        lcb-mode for Emacs: https://github.com/peter-b/lcb-mode
        
        _______________________________________________
        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