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 e47e899 commit 01ed232Copy full SHA for 01ed232
src/font/system.rs
@@ -226,7 +226,7 @@ impl FontSystemBuilder {
226
///
227
/// FontSystem::builder()
228
/// .load_font(Source::Binary(Arc::new(include_bytes!("Roboto-Regular.ttf"))))
229
- /// .load_font(Source::File("./Roboto.ttf".into()))
+ /// .load_font(Source::File("./Roboto-Bold.ttf".into()))
230
/// .build();
231
/// ```
232
pub fn load_font(mut self, source: fontdb::Source) -> Self {
@@ -247,7 +247,7 @@ impl FontSystemBuilder {
247
248
/// .load_fonts([
249
/// Source::Binary(Arc::new(include_bytes!("Roboto-Regular.ttf"))),
250
- /// Source::File("./Roboto.ttf".into())
+ /// Source::File("./Roboto-Bold.ttf".into())
251
/// ])
252
253
0 commit comments