clean up non-ASCII comments

Change-Id: I07ad00133f6a938de70a94024a0ebe36c6c542bb
Reviewed-on: https://skia-review.googlesource.com/6524
Commit-Queue: Hal Canary <halcanary@google.com>
Reviewed-by: Hal Canary <halcanary@google.com>
This commit is contained in:
Hal Canary 2017-01-03 10:36:17 -05:00 committed by Skia Commit-Bot
parent 5a2057aee9
commit 55325b7c59
7 changed files with 7 additions and 7 deletions

View File

@ -328,7 +328,7 @@ static int setup_cpu_bench(const double overhead, Target* target, Benchmark* ben
// ------------------------- < FLAGS_overheadGoal
// overhead + N * Bench Time
//
// where bench_plus_overhead overhead + Bench Time.
// where bench_plus_overhead ~=~ overhead + Bench Time.
//
// Doing some math, we get:
//

View File

@ -75,7 +75,7 @@ private:
};
/**
* This is a simple helper class for resetting a canvas's clip to our tests SkClipStack.
* This is a simple helper class for resetting a canvas's clip to our test's SkClipStack.
*/
class ReplayClipStackVisitor final : public SkCanvasClipVisitor {
public:

View File

@ -46,7 +46,7 @@ public:
*/
struct PDFMetadata {
/**
* The documents title.
* The document's title.
*/
SkString fTitle;
/**

View File

@ -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.10352e5 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.

View File

@ -12,7 +12,7 @@
class SkBitSet;
class SkGlyphCache;
/* PDF 32000-1:2008, page 270: "The arrays 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,

View File

@ -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));

View File

@ -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.