You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ti...@apache.org on 2019/12/12 04:39:54 UTC
svn commit: r1871214 - in
/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/shading:
CoonsPatch.java TensorPatch.java
Author: tilman
Date: Thu Dec 12 04:39:54 2019
New Revision: 1871214
URL: http://svn.apache.org/viewvc?rev=1871214&view=rev
Log:
PDFBOX-4071: fix typo found codespell on fossies.org
Modified:
pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/shading/CoonsPatch.java
pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/shading/TensorPatch.java
Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/shading/CoonsPatch.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/shading/CoonsPatch.java?rev=1871214&r1=1871213&r2=1871214&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/shading/CoonsPatch.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/shading/CoonsPatch.java Thu Dec 12 04:39:54 2019
@@ -162,7 +162,7 @@ class CoonsPatch extends Patch
/*
dividing a patch into a grid, return a matrix of the coordinate and color at the crossing points of the grid,
the rule to calculate the coordinate is defined in page 195 of PDF32000_2008.pdf, the rule to calculate the
- cooresponding color is bilinear interpolation
+ corresponding color is bilinear interpolation
*/
private CoordinateColorPair[][] getPatchCoordinatesColor(CubicBezierCurve c1, CubicBezierCurve c2, CubicBezierCurve d1, CubicBezierCurve d2)
{
Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/shading/TensorPatch.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/shading/TensorPatch.java?rev=1871214&r1=1871213&r2=1871214&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/shading/TensorPatch.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/shading/TensorPatch.java Thu Dec 12 04:39:54 2019
@@ -206,7 +206,7 @@ class TensorPatch extends Patch
/*
dividing a patch into a grid according to level, then calculate the coordinate and color of
each crossing point in the grid, the rule to calculate the coordinate is tensor-product which
- is defined in page 119 of PDF32000_2008.pdf, the method to calculate the cooresponding color is
+ is defined in page 119 of PDF32000_2008.pdf, the method to calculate the corresponding color is
bilinear interpolation
*/
private CoordinateColorPair[][] getPatchCoordinatesColor()