Skip to content

Commit 9f45b18

Browse files
tychedeliacatilac
authored andcommitted
Text.
1 parent 029a000 commit 9f45b18

19 files changed

Lines changed: 3543 additions & 13 deletions

File tree

Cargo.lock

Lines changed: 142 additions & 6 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
@@ -257,6 +257,14 @@ path = "examples/particles_emit_gpu.rs"
257257
name = "particles_stress"
258258
path = "examples/particles_stress.rs"
259259

260+
[[example]]
261+
name = "text"
262+
path = "examples/text.rs"
263+
264+
[[example]]
265+
name = "text_3d"
266+
path = "examples/text_3d.rs"
267+
260268
[profile.wasm-release]
261269
inherits = "release"
262270
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)