mimetic / corona-textrender Goto Github PK
View Code? Open in Web Editor NEWA pure-Lua text rendering module for Corona SDK which can handle basic HTML, fonts, font-styles, and even basic font metrics. (Takes over from corona-styled-textwrap)
A pure-Lua text rendering module for Corona SDK which can handle basic HTML, fonts, font-styles, and even basic font metrics. (Takes over from corona-styled-textwrap)
Seems like lists are not working. No numbers, no discs.
Hey, first of all. Amazing package and thanks for making this :)
I get a problem with Android. Where the <img src="assets/images/image-file.jpg">
should be it just says "Missing picture: assets/images/image-file.jpg"
Works in simulator and on iOS.
Any idea how to fix it?
Text without paragraph markers around it will render, but if a paragraph follows, that paragraph will draw over the previous text line.
I think that a paragraph open should jump to the next line. Right now, a paragraph opening tag will not jump to the next line.
This demonstrations the problem:
This line is normal
<p>This is a paragraph of text.</p>
I spent the day to day trying to figure this all out. Almost got it working, but I need an easy way to use the system font, system fontbold etc... I tried changing texstyles.txt but it kept trying to use the avenir fonts no matter what I told it. Is there a way to get one code base working for all devices using this code?
I'm using the textrender to display messages in my app, and display url links which the user can press. When there are multiple messages, the textrenderer seems to have an issue, and displays the url link in all the messages.
If your HTML does not wrap text in
or
by moving down, or adds a new line after
.
<p>Additional dark spots are found along the lateral surfaces of the species. In adult specimens, the pectoral fins are broadly triangular.</p>
This is "Normal" text.
Hi, great project.
I need to format Chinese and Japanese text which has no spaces between characters. Each sentence is just a long string of characters, so it just flows to the right ignoring the edge of the document.
Can you support auto-line-breaks for these languages?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.