-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Web Fonts do not render, use fallback fonts instead. #10592
Comments
atheken@gmail.com commented:
|
pleh...@gmail.com commented:
|
atheken@gmail.com commented:
|
n...@visual.ly commented:
|
ariya.hi...@gmail.com commented:
|
vitaliy....@gmail.com commented:
|
dmitr...@gmail.com commented:
|
e...@dubbelboer.com commented:
|
dmitr...@gmail.com commented:
|
vitaliy....@gmail.com commented:
|
e...@dubbelboer.com commented:
|
remo.vet...@gmail.com commented:
|
vitaliy....@gmail.com commented:
|
vitaliy....@gmail.com commented:
|
meir.cot...@gmail.com commented:
|
vitaliy....@gmail.com commented:
|
atheken@gmail.com commented:
|
meir.cot...@gmail.com commented:
|
atheken@gmail.com commented:
|
vitaliy....@gmail.com commented:
|
remo.vet...@gmail.com commented:
|
vitaliy....@gmail.com commented:
|
treyto...@gmail.com commented:
|
treyto...@gmail.com commented:
|
ariya.hi...@gmail.com commented:
|
ariya.hi...@gmail.com commented:
|
vitaliy....@gmail.com commented:
|
atheken@gmail.com commented:
|
vitaliy....@gmail.com commented:
|
@vitallium - I've compiled master (using build.cmd for windows) and am still encountering issues loading woff files. Am I missing something? |
@malhotrar make sure you compiled it with zlib support. |
@vitallium - in preconfig.cmd, I see 'set QT_CONFIG=!QT_CONFIG! -qt-zlib', isn't that what I need or Is there something specific I need to do? |
@malhotrar QtWebkit has its own system to detect if zlib library is available. |
@vitallium - so what do I do? Anything special i need to install on windows to compile with zlib? |
@malhotrar as far as I remember, you don't. But let me check it. |
@vitallium - Is there a nightly build, I could try out that would be compiled with zlib support? That way I can make sure it's not an issue with my build? |
I can confirm, I am compiling with zlib (looking at the build log) Third Party Libraries: qxml.cpp and so on. |
@malhotrar found. There is a problem in |
All I should is add the following?: :: zlib :: sqlite set LIB=!OPENSSL_LIB!;!ICU_LIB!;!LIBXML_LIB!;!ZLIB_LIB!;%LIB% |
@malhotrar to compile PhantomJS on Windows with zlib support, do following:
|
@vitallium - hitting "LINK : fatal error LNK1181: cannot open input file 'z.lib'"
LINK : fatal error LNK1181: cannot open input file 'z.lib' |
@vitallium - renaming zlib.lib to z.lib fixes the issue above. |
Does anyone have a compiled build for ubuntu 14? |
@sosso I posted some 2.0 pre-release binaries here: https://github.com/bprodoehl/phantomjs/releases I didn't expect the static builds for Linux to take this long, so I'll post some 2.0.0 release binaries for Ubuntu there tonight. |
Awesome. These have the web font support? I have a working 2.0 binary but our designer doesn't think the web font support was enabled on the build that I obtained. |
I posted some new Ubuntu 14.04 and 15.04 binaries here: https://github.com/bprodoehl/phantomjs/releases/tag/v2.0.0-20150528 Web fonts look just fine using the rasterize example on a couple internal sites, and http://thisweeksplaylist.co/ |
Nice, that's a definite improvement. Source: http://crowdfunding-projects.findthedata.com/w/a1XMTxO8hdX |
UPDATE: for additional context, I'm using the library webshot. Could someone comment on usage? Sorry to bother. I cannot get this working for the life of me. Running 2.0.0 on Yosemite, installed view Homebrew. Absolutely beautiful product. Everything is working except Google fonts.
I've been unable to get render to use Open Sans. I've tried various other methods of importing the font, using Can someone post a working code snippet? Sorry again for such a basic question. |
In some cases need to install Linux version of Arial, Sanserif fonts |
@evgenosiptsov thx for that. I was getting boxes instead of text in pdf. Now it's rendering text but quite large ones compare to on my windows and other linux boxes. Atleast, this is better than dark boxes 👍 |
Short (bad) workaround: |
atheken@gmail.com commented:
Disclaimer:
This issue was migrated on 2013-03-15 from the project's former issue tracker on Google Code, Issue #592.
🌟 30 people had starred this issue at the time of migration.
The text was updated successfully, but these errors were encountered: