Skip to content
This repository has been archived by the owner on Jan 15, 2021. It is now read-only.

[HUD custom font]: the custom font makes UIs inaccessible for couple seconds #147

Open
legomushroom opened this issue Jun 29, 2017 · 6 comments
Assignees
Milestone

Comments

@legomushroom
Copy link
Member

Since browser spends some time downloading, parsing and rendering custom font, the text on the HUD is not visible for couple seconds:

hud-font-issue

Need to do better job with custom font loading or get rid of it entirely.

@legomushroom legomushroom added this to the M022 milestone Jun 29, 2017
@legomushroom legomushroom self-assigned this Jun 29, 2017
@davidkpiano
Copy link
Contributor

Downloading from where? It should be locally served, no?

@legomushroom legomushroom changed the title [HUD custom font]: the custom font makes UIs unaccessible for couple seconds [HUD custom font]: the custom font makes UIs inaccessible for couple seconds Jun 29, 2017
@legomushroom
Copy link
Member Author

@davidkpiano yeah locally but from the web server, anyways the custom font rendered as the empty placeholder until browser finishes all the custom font work.

@davidkpiano
Copy link
Contributor

cc. @chetsangnil I talked about this with him a while back (re. using system fonts instead of custom fonts)

@legomushroom
Copy link
Member Author

I'd love to use a system font here.

@mike-kaufman
Copy link
Contributor

@legomushroom -

  1. I haven't observed this behavior on win/chrome. Can you add repro steps (i.e., what URL are you hitting to see this) & browser/os info?
  2. How do you know the delay here is related to custom fonts?

@legomushroom
Copy link
Member Author

  1. I think the repro is:
  • Launch express.test.app
  • Goto Timeline, click on Http Services
  1. This is the common problem with custom fonts, as you can see on the gif that everything besides text rendered ok, but the text is missed.

@mike-kaufman mike-kaufman modified the milestones: M023, M022 Jun 30, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants