osu-framework icon indicating copy to clipboard operation
osu-framework copied to clipboard

Roboto-Regular contains non-white transparent pixels in resources

Open peppy opened this issue 4 years ago • 0 comments

Just opening this issue in case someone runs into this in a future, so there is some documentation.

We expect all framework font resources to contain only opacity information. The Roboto resources go against this expectation. As it turns out, this is a non-issue due to the way RawCachingGlyphStore works (it will store only the relevant opacity channel, and remove these errors). This will only be visible when using the base GlyphStore.

As such I'm marking this as zero-priority - it doesn't need a fix unless a framework consumer runs into an issue. If anyone is bored/free enough to fix the resources, that is a valid solution.

20210806 143010 (JetBrains Rider)

Using RawCachingGlyphStore:

20210806 143312 (dotnet)

Using GlyphStore:

20210806 143259 (dotnet)

nb: this is unrelated to colour space investigation. something i noticed while working on a completely different issue.

peppy avatar Aug 06 '21 05:08 peppy