summaryrefslogtreecommitdiff
path: root/src/cairo-pdf-operators.c
diff options
context:
space:
mode:
authorUli Schlachter <psychon@znc.in>2020-12-26 15:55:20 +0000
committerUli Schlachter <psychon@znc.in>2020-12-26 15:55:20 +0000
commit2a48955a331e48e40bce0bcf886b41fd83ea4c6f (patch)
tree7ffe15b04bc1e55fbfbb7c491e05cce0ac55ee41 /src/cairo-pdf-operators.c
parent1d99f816b3804f2568ee4669cd0fe57f66ab319d (diff)
parent2eb12d3fbc7ba727a6af5ef0893f9822ecd2d7d3 (diff)
downloadcairo-1.16.tar.gz
Merge branch 'backport-fixes' into '1.16'1.16
Cherry-pick fixes from master into 1.16 See merge request cairo/cairo!20
Diffstat (limited to 'src/cairo-pdf-operators.c')
-rw-r--r--src/cairo-pdf-operators.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cairo-pdf-operators.c b/src/cairo-pdf-operators.c
index 491ef8ca2..328e893d7 100644
--- a/src/cairo-pdf-operators.c
+++ b/src/cairo-pdf-operators.c
@@ -798,7 +798,7 @@ _cairo_pdf_operators_emit_stroke (cairo_pdf_operators_t *pdf_operators,
}
/* The PDF CTM is transformed to the user space CTM when stroking
- * so the corect pen shape will be used. This also requires that
+ * so the correct pen shape will be used. This also requires that
* the path be transformed to user space when emitted. The
* conversion of path coordinates to user space may cause rounding
* errors. For example the device space point (1.234, 3.142) when
@@ -1326,7 +1326,7 @@ _cairo_pdf_operators_emit_glyph (cairo_pdf_operators_t *pdf_operator
* current position to the next glyph. We also use the Td
* operator to move the current position if the horizontal
* position changes by more than 10 (in text space
- * units). This is becauses the horizontal glyph positioning
+ * units). This is because the horizontal glyph positioning
* in the TJ operator is intended for kerning and there may be
* PDF consumers that do not handle very large position
* adjustments in TJ.