mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Comment out some spammy Font debug statements.
This commit is contained in:
parent
81f84bce17
commit
b62537883a
1 changed files with 3 additions and 4 deletions
|
@ -436,8 +436,7 @@ pub impl Font : FontMethods {
|
|||
|
||||
fn measure_text(run: &TextRun, range: Range) -> RunMetrics {
|
||||
//assert range.is_valid_for_string(run.text);
|
||||
|
||||
debug!("measuring text range '%s'", run.text.substr(range.begin(), range.length()));
|
||||
//debug!("measuring text range '%s'", run.text.substr(range.begin(), range.length()));
|
||||
|
||||
// TODO: alter advance direction for RTL
|
||||
// TODO(Issue #98): using inter-char and inter-word spacing settings when measuring text
|
||||
|
@ -457,8 +456,8 @@ pub impl Font : FontMethods {
|
|||
ascent: self.metrics.ascent,
|
||||
descent: self.metrics.descent,
|
||||
};
|
||||
debug!("Measured text range '%s' with metrics:", run.text.substr(range.begin(), range.length()));
|
||||
debug!("%?", metrics);
|
||||
//debug!("Measured text range '%s' with metrics:", run.text.substr(range.begin(), range.length()));
|
||||
//debug!("%?", metrics);
|
||||
|
||||
return metrics;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue