SyntaxError: Could not resolve '400 10pt Roboto' as a font

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.

SyntaxError: Could not resolve '400 10pt Roboto' as a font

Postby coder678 » Thu Jan 11, 2018 12:09 am

I am trying to build CEF in Windows with audio codecs support. Scripts were the following.
Code: Select all
set CEF_USE_GN=1
set GN_DEFINES=is_official_build=true proprietary_codecs=true ffmpeg_branding=Chrome enable_precompiled_headers=false use_jumbo_build=true
set GN_ARGUMENTS=--ide=vs2017 --sln=cef --filters=//cef/*
python ..\automate\automate-git.py --download-dir=c:\code\chromium_git --depot-tools-dir=C:\code\depot_tools --branch=3239 --no-distrib --no-build

Then I changed build.gn, added a line:
Code: Select all
"//media:media_features"

Then:
Code: Select all
set CEF_USE_GN=1
set GN_DEFINES=use_jumbo_build=true is_official_build=true proprietary_codecs=true ffmpeg_branding=Chrome enable_precompiled_headers=false
set GN_ARGUMENTS=--ide=vs2017 --sln=cef --filters=//cef/*
call cef_create_projects.bat

And
Code: Select all
ninja -C out\Debug_GN_x86 cef


cefclient was built but it doesn't show anything and has errors in the log:
Code: Select all
[0111/045347.213:FATAL:CSSPropertyAPI.h(77)] Check failed: false.
[0111/045347.822:INFO:CONSOLE(0)] "Uncaught (in promise) SyntaxError: Could not resolve '400 10pt Roboto' as a font.", source: https://www.google.com/ (0)
[0111/045455.871:ERROR:process_win.cc(139)] Unable to terminate process: Access is denied. (0x5)


On previous iteration I've build a release in same way, and the page was displayed very ugly, and there was a same message "Could not resolve '400 10pt Roboto' as a font."
How to fix?
coder678
Techie
 
Posts: 35
Joined: Sun Jun 26, 2016 10:03 pm

Re: SyntaxError: Could not resolve '400 10pt Roboto' as a fo

Postby wesselsga » Thu Jan 11, 2018 10:51 am

I concur. Looks like your options are the exact same as mine when I posted this other issue http://magpcss.org/ceforum/viewtopic.php?f=6&t=15698

I see the same error - Could not resolve '400 10pt Roboto' as a font as well.
wesselsga
Newbie
 
Posts: 6
Joined: Wed Jan 10, 2018 8:48 am

Re: SyntaxError: Could not resolve '400 10pt Roboto' as a fo

Postby coder678 » Thu Jan 18, 2018 9:45 pm

Fixed by removing use_jumbo_build=true.
coder678
Techie
 
Posts: 35
Joined: Sun Jun 26, 2016 10:03 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 25 guests