Comments (5)
UPD: Huh... Looks like it reproduces only on Firefox (v93)....
from wgpu_glyph.
When wgpu
is updated to thje latest master (gfx-rs/wgpu@d46c39a) It produces even more bizarre results (still, only on Firefox)
UPD1: Decreasing initial cache cache makes this bug even funnier (yep, still reproduces only in Firefox):
UPD2: Set draw_cache_align_4x4(true)
(I missed the fact that is should be enabled on WebGL), but still, no visible change.
from wgpu_glyph.
- Are we sure the example is leveraging WebGL and not the experimental WebGPU API?
- The example in your fork does not match the screenshots you shared. There is no "Frame #" text in the source.
- If I had to guess, I'd say that there is something up with the cache upload logic here:
wgpu_glyph/src/pipeline/cache.rs
Lines 60 to 121 in cd6f154
from wgpu_glyph.
@hecrj Wow, I forgot to push local changes to the fork 🥴... Now it is in place, sorry for that!
Well, I explicitly ask wgpu
for wgpu::Backends::GL
backend, so unless if something is completely broken in wgpu, it should use WebGL, I guess...
Yea, my bet is too on the broken caching logic, but I not yet figured out what shat is specifically wrong with it...
from wgpu_glyph.
Similar problems were encountered when i was using iced v0.3.0. the last few words are not rendered.
not the web but default wgpu
from wgpu_glyph.
Related Issues (20)
- Bug: wgpu_glyph renders gibberish psuedo-glyphs when used with ANGLE and or OpenGL backend on ARM OSX
- Comparison with glyphon crate.
- Glyph rendering issues with GL backend HOT 1
- Multi line text can cause validation error if scale factor != 1 HOT 1
- error: could not compile `wgpu`
- Slight inconsistency between generated images HOT 1
- repeatedly blinks HOT 1
- Owned Types
- Stroked text?
- Latest release fails with validation error using wgpu 0.11.1 HOT 2
- Wrong Render Result for SourceHanSerif fonts
- Get bounding box of drawn text HOT 2
- Font weight problem HOT 2
- Depth example doesn't show anything on macOS HOT 1
- Background color
- Stoke text
- Alignment/Positioning doesn't work correctly
- Broken Documentation links?
- No support for resolve_target?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wgpu_glyph.