Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

glyph placeholders / non-rendering text in demos #412

Closed
graydon opened this issue Jul 22, 2020 · 2 comments
Closed

glyph placeholders / non-rendering text in demos #412

graydon opened this issue Jul 22, 2020 · 2 comments

Comments

@graydon
Copy link

graydon commented Jul 22, 2020

Ubuntu 18.04 LTS, fairly stock environment, I checked out pathfinder and did cd examples/canvas_nanovg/ then cargo run --release and I got the following display with missing glyph placeholders:

image

Since I have no idea what the cause is -- looks like the fonts are in the tree even! -- I'll just list everything else about the software & hardware context:

Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz

4.15.0-111-generic #112-Ubuntu SMP Thu Jul 9 20:32:34 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

NVIDIA Corporation GP107 [GeForce GTX 1050 Ti]

X.Org version: 1.19.6


$ rustup show
Default host: x86_64-unknown-linux-gnu
rustup home:  /home/graydon/.rustup

installed toolchains
--------------------

stable-x86_64-unknown-linux-gnu
nightly-2019-07-18-x86_64-unknown-linux-gnu
nightly-x86_64-unknown-linux-gnu (default)

active toolchain
----------------

nightly-x86_64-unknown-linux-gnu (default)
rustc 1.44.0-nightly (14061868b 2020-04-10)

$ nvidia-smi 
Wed Jul 22 12:39:19 2020       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 440.100      Driver Version: 440.100      CUDA Version: 10.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 105...  Off  | 00000000:05:00.0  On |                  N/A |
| 31%   38C    P0    N/A /  75W |   2168MiB /  4038MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
@s3bk
Copy link
Collaborator

s3bk commented Jul 22, 2020

duplicate of #194

@jdm jdm closed this as completed Jul 22, 2020
@jdm
Copy link
Member

jdm commented Jul 22, 2020

Ultimately there is a PR to address this in linebender/skribo#35 with some discussion about an alternative fix. This occurs when the system harfbuzz libraries are older than 2.0, iirc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants