ValveSoftware / Source-1-Games

Source 1 based games such as TF2 and Counter-Strike: Source
635 stars 74 forks source link

Missing glyphs causing text corruption #165

Open danhedron opened 11 years ago

danhedron commented 11 years ago

This seems unrelated to the other character set issues, since it doesn't even show the missing character glyph.

Here's pictures of @johndrinkwater 's name as it appears in TF2, which right now is this

http://steamcommunity.com/sharedfiles/filedetails/?id=128169763

http://steamcommunity.com/sharedfiles/filedetails/?id=128169786

http://steamcommunity.com/sharedfiles/filedetails/?id=128169606

There are some other odd issues such as some garbage following the "[" in the leaderboard which changes every few ticks.

I should probably note that I don't have a font with the right characters installed, but John's name shows up as I would expect it to in the steam client and the overlay.

System Information

Is there any more information needed?

Majkl578 commented 11 years ago

Imho related to #123, which describes similar problem in CS:S.

danhedron commented 11 years ago

Could be related, it doesn't look like regular characters are missing in css though. On Feb 19, 2013 2:03 AM, "Michael Moravec" notifications@github.com wrote:

Imho related to #123https://github.com/ValveSoftware/Source-1-Games/issues/123, which describes similar problem in CS:S.

— Reply to this email directly or view it on GitHubhttps://github.com/ValveSoftware/Source-1-Games/issues/165#issuecomment-13753204.

johndrinkwater commented 11 years ago

Screenshots from my perspective, the correct appearance for my name is in bug https://github.com/ValveSoftware/steam-for-linux/issues/1489 http://steamcommunity.com/sharedfiles/filedetails/?id=128230040 http://steamcommunity.com/sharedfiles/filedetails/?id=128229976 http://steamcommunity.com/sharedfiles/filedetails/?id=128229914

I have the fonts to draw the characters, the inconsistent spacing (and additional margin) from the missing characters is certainly odd.

johndrinkwater commented 11 years ago

I’d love to know why the behaviour is different between mine and @danharibo’s

bdeen-valve commented 11 years ago

@johndrinkwater Not 100% sure, but what font are you pulling your characters for your name out of? Does @danharibo have that font?

We've got a bunch of font issues we're trying to work out... This may coincide with one we already have, or it might be a new variant.

johndrinkwater commented 11 years ago

The font file is this one http://code.metager.de/source/raw/android/4.1.1/frameworks/base/data/fonts/AndroidEmoji.ttf afaik he didn’t when he took those shots.

jorgenpt commented 11 years ago

@johndrinkwater, I believe that the issue is that for a lot of the fonts we use we try to retrieve them from the system's font directory. People have different fonts installed, so they get different fonts used, sadly. Like @bdeen-valve said, we're working to find a good solution to this.

danhedron commented 11 years ago

Here is another image that shows some of the text corruption a little better.

http://steamcommunity.com/sharedfiles/filedetails/?id=128169923

On 19 February 2013 17:44, Jørgen P. Tjernø notifications@github.comwrote:

@johndrinkwater https://github.com/johndrinkwater, I believe that the issue is that for a lot of fonts we try to retrieve them from the system's font directory. People have different fonts installed, so they get different fonts used, sadly. Like @bdeen-valvehttps://github.com/bdeen-valvesaid, we're working to find a good solution to this.

— Reply to this email directly or view it on GitHubhttps://github.com/ValveSoftware/Source-1-Games/issues/165#issuecomment-13786350.

Daniel Evans Web: http://bytecove.co.uk Games: http://razor-studios.co.uk