Remove some obsolete formatting traits.

This commit is contained in:
Ms2ger 2015-01-04 11:42:40 +01:00
parent 76b8810a86
commit be5e9b4278
3 changed files with 4 additions and 4 deletions

View file

@ -587,8 +587,8 @@ impl WorkerThread {
let mut buffer = layer_buffer.unwrap();
draw_target.snapshot().get_data_surface().with_data(|data| {
buffer.native_surface.upload(native_graphics_context!(self), data);
debug!("painting worker thread uploading to native surface {:d}",
buffer.native_surface.get_id() as int);
debug!("painting worker thread uploading to native surface {}",
buffer.native_surface.get_id());
});
return buffer
}

View file

@ -255,7 +255,7 @@ impl FontHandleMethods for FontHandle {
line_gap: height,
};
debug!("Font metrics (@{:f} pt): {}", geometry::to_pt(em_size), metrics);
debug!("Font metrics (@{} pt): {}", geometry::to_pt(em_size), metrics);
return metrics;
}

View file

@ -307,7 +307,7 @@ impl Shaper {
debug!("text: {}", text);
debug!("(char idx): char->(glyph index):");
for (i, ch) in text.char_indices() {
debug!("{}: {} --> {:d}", i, ch, *byte_to_glyph.get(i).unwrap() as int);
debug!("{}: {} --> {}", i, ch, byte_to_glyph[i]);
}
// some helpers