diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/effects/SkDisplacementMapEffect.cpp | 2 | ||||
-rw-r--r-- | src/pdf/SkPDFMakeCIDGlyphWidthsArray.h | 2 | ||||
-rw-r--r-- | src/pdf/SkPDFMetadata.cpp | 2 | ||||
-rw-r--r-- | src/ports/SkFontHost_mac.cpp | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/effects/SkDisplacementMapEffect.cpp b/src/effects/SkDisplacementMapEffect.cpp index d9c1079ba0..7d5a79a72a 100644 --- a/src/effects/SkDisplacementMapEffect.cpp +++ b/src/effects/SkDisplacementMapEffect.cpp @@ -571,7 +571,7 @@ void GrGLDisplacementMapEffect::emitCode(EmitArgs& args) { const char* scaleUni = args.fUniformHandler->getUniformCStr(fScaleUni); const char* dColor = "dColor"; const char* cCoords = "cCoords"; - const char* nearZero = "1e-6"; // Since 6.10352e−5 is the smallest half float, use + const char* nearZero = "1e-6"; // Since 6.10352e-5 is the smallest half float, use // a number smaller than that to approximate 0, but // leave room for 32-bit float GPU rounding errors. diff --git a/src/pdf/SkPDFMakeCIDGlyphWidthsArray.h b/src/pdf/SkPDFMakeCIDGlyphWidthsArray.h index d7a53a9b16..4fc0072846 100644 --- a/src/pdf/SkPDFMakeCIDGlyphWidthsArray.h +++ b/src/pdf/SkPDFMakeCIDGlyphWidthsArray.h @@ -12,7 +12,7 @@ class SkBitSet; class SkGlyphCache; -/* PDF 32000-1:2008, page 270: "The array’s elements have a variable +/* PDF 32000-1:2008, page 270: "The array's elements have a variable format that can specify individual widths for consecutive CIDs or one width for a range of CIDs". */ sk_sp<SkPDFArray> SkPDFMakeCIDGlyphWidthsArray(SkGlyphCache* cache, diff --git a/src/pdf/SkPDFMetadata.cpp b/src/pdf/SkPDFMetadata.cpp index 42068843bf..ee5c19bba4 100644 --- a/src/pdf/SkPDFMetadata.cpp +++ b/src/pdf/SkPDFMetadata.cpp @@ -164,7 +164,7 @@ public: stream->write(streamBegin, strlen(streamBegin)); // Do not compress this. The standard requires that a // program that does not understand PDF can grep for - // "<?xpacket" and extracť the entire XML. + // "<?xpacket" and extract the entire XML. stream->write(fXML.c_str(), fXML.size()); static const char streamEnd[] = "\nendstream"; stream->write(streamEnd, strlen(streamEnd)); diff --git a/src/ports/SkFontHost_mac.cpp b/src/ports/SkFontHost_mac.cpp index 65200e46a7..2c2f373db5 100644 --- a/src/ports/SkFontHost_mac.cpp +++ b/src/ports/SkFontHost_mac.cpp @@ -780,7 +780,7 @@ CGRGBPixel* Offscreen::getCG(const SkScalerContext_Mac& context, const SkGlyph& // Prior to 10.10, CTFontDrawGlyphs acted like CGContextShowGlyphsAtPositions and took // 'positions' which are in text space. The glyph location (in device space) must be // mapped into text space, so that CG can convert it back into device space. - // In 10.10.1, this is handled directly in CTFontDrawGlyphs. + // In 10.10.1, this is handled directly in CTFontDrawGlyphs. // // However, in 10.10.2 color glyphs no longer rotate based on the font transform. // So always make the font transform identity and place the transform on the context. |