Skip to content

Commit 52a451b

Browse files
committed
Text.
1 parent 3a28378 commit 52a451b

19 files changed

Lines changed: 3517 additions & 14 deletions

File tree

Cargo.lock

Lines changed: 116 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,14 @@ path = "examples/particles_emit_gpu.rs"
209209
name = "particles_stress"
210210
path = "examples/particles_stress.rs"
211211

212+
[[example]]
213+
name = "text"
214+
path = "examples/text.rs"
215+
216+
[[example]]
217+
name = "text_3d"
218+
path = "examples/text_3d.rs"
219+
212220
[profile.wasm-release]
213221
inherits = "release"
214222
opt-level = "z"

crates/processing_core/src/error.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,8 @@ pub enum ProcessingError {
5858
PipelineNotReady(u32),
5959
#[error("Particles not found")]
6060
ParticlesNotFound,
61+
#[error("Font not found")]
62+
FontNotFound,
63+
#[error("Font load error: {0}")]
64+
FontLoadError(String),
6165
}

0 commit comments

Comments
 (0)