Locally provided font-face renders no text

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Locally provided font-face renders no text

Postby damonkashu » Mon Jan 09, 2017 4:42 pm

I'm using a font-face that references a local font file on disk. Upon trying to render text that has that font family, it renders invisible.

I checked the dev tools and it appears like the font has loaded properly. If I force a repaint by manipulating the css (ie: change the margin), then the text appears.

I wonder if it could be tied to this chromium bug? https://bugs.chromium.org/p/chromium/is ... ?id=602968

Using branch 2623.
damonkashu
Techie
 
Posts: 16
Joined: Tue May 24, 2016 8:26 pm

Re: Locally provided font-face renders no text

Postby damonkashu » Mon Jan 09, 2017 7:44 pm

something interesting of note: using chrome dev tools, it appears the wrong font-family is getting applied to the element. Forcing a repaint causes it to identify the correct font-family. So that's pretty odd.

I also observed if I scale zoom level, it forces a repaint and identifies the right font-family. Very suspicious.
damonkashu
Techie
 
Posts: 16
Joined: Tue May 24, 2016 8:26 pm

Re: Locally provided font-face renders no text

Postby magreenblatt » Tue Jan 10, 2017 12:01 pm

2623 branch is very old. Try using a supported CEF branch: https://bitbucket.org/chromiumembedded/ ... -supported
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 54 guests