Comments (3)
My only initial problem with the included spacing preference is that typically a user will write bold HTML text as "here is a bunch of text, only some of which is bold." The bolded text in that example needs a little extra space around it than normal text, but the person writing the formatted text isn't going to be thinking about that, and you're going to end up with bold text snuggled up too close to normal text.
from playn.
Text layout and rendering is a morass of ill specified and dubiously implemented functionality (on every platform). There's nothing in PlayN's Java layout and rendering code that is stripping off whitespace. So something deep in the bowels of Java is doing it. PlayN can't fix that for you.
from playn.
I take that back. It looks like the code that PlayN uses to work around font rendering discrepancies is causing problems when you have leading whitespace. Yay Java. I'll see what I can do.
from playn.
Related Issues (20)
- Raspberry Pi support (and others ARM devices too) HOT 6
- Layer.setScale(0) blows up in hit testing HOT 1
- JavaStorage is volatile HOT 2
- Automatically publish snapshots HOT 1
- GroupLayer.addListener not working? HOT 2
- Resizable window on java version? HOT 3
- gamepad support? HOT 12
- Error: uniform variables in vertex shader do not fit
- Initialize platform components lazily HOT 2
- Getting started still points at Google code site HOT 3
- Vivante GPU rendering problem
- Shutdown GLView completely HOT 1
- foreground color not working anymore using Canvas.fillText HOT 2
- NullPointerException using PlayN.net().get(url,callback) API HOT 5
- addBarrier behaves different in Java and HTML
- No documentation provided HOT 2
- Support for GIF Animations HOT 2
- Detecting keyboard modifiers (Shift, Alt, Ctrl, etc) HOT 1
- Can no longer build using Maven HOT 1
- [bug] invokes toString on an array HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from playn.