documents and typography: two comments within ten words
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -91,7 +91,7 @@ fn ordered(rest: &str) -> Option<(String, usize)> {
|
|||||||
Some((format!("{}{close}", number + 1), digits + 1))
|
Some((format!("{}{close}", number + 1), digits + 1))
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Leading bytes that make one step, tabs to stops of four.
|
/// Leading bytes making one step; tabs stop every four.
|
||||||
fn outdent(line: &str) -> usize {
|
fn outdent(line: &str) -> usize {
|
||||||
let mut columns = 0;
|
let mut columns = 0;
|
||||||
for (bytes, ch) in line.char_indices() {
|
for (bytes, ch) in line.char_indices() {
|
||||||
|
|||||||
@@ -198,7 +198,7 @@ fn an_exported_formula_outlines_its_text_or_says_why() {
|
|||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn an_exported_formula_frames_its_outlined_text() {
|
fn an_exported_formula_frames_its_outlined_text() {
|
||||||
// Wide or tall faces from the system, where fonts have them.
|
// Wide or tall system faces, where installed.
|
||||||
for source in [r"\text{한글}", r"\text{𓀀} + x"] {
|
for source in [r"\text{한글}", r"\text{𓀀} + x"] {
|
||||||
let Ok(svg) = formula_svg(source, false) else {
|
let Ok(svg) = formula_svg(source, false) else {
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in new issue
Block a user