We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ce1f32 commit 5624521Copy full SHA for 5624521
src/renderer/fonts/caching_shaper.rs
@@ -375,9 +375,6 @@ impl CachingShaper {
375
376
let mut resulting_blobs = Vec::new();
377
378
- let text = word.text();
379
- trace!("Shaping text: {text:?}");
380
-
381
for (cluster_group, font_pair) in self.build_clusters(word, style) {
382
let features = self.get_font_features(
383
font_pair
@@ -439,6 +436,7 @@ impl CachingShaper {
439
436
let key = ShapeKey::new(text.to_string(), style);
440
437
441
438
if !self.blob_cache.contains(&key) {
+ trace!("Shaping text: {text:?}");
442
let blobs = self.shape(word, style);
443
self.blob_cache.put(key.clone(), blobs);
444
}
0 commit comments