Skip to content

webgl: mobile glyph rendering issues #3776

@Spongman

Description

@Spongman

0.8.0
re: #3769

@stalgiag reported webgl font rendering issues on android mobile devices:

The text/chinese manual test is still rendering oddly on my mobile device (Android 8, Galaxy s7). I don't know if that has to be addressed in this PR as it is "more broken" in master currently. Just thought it worth noting. Here is a screenshot:

it looks like it might be due to integer precision issues on that device:

If I change the fragment shader to use high precision floats and also do the integer substitution with floats (ie #if 1 in line 4) then it displays correctly.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions