Summary: 70 instances, 47 unique Text Count // TODO: is falling back on the U+FFFD glyph the responsibility of 6 // The libwebp C code has a "TODO: only CURRENT is handled for now." 1 // TODO: similarly, load subroutine locations lazily. Adobe's 1 // TODO: cff2, vorg? 1 // TODO: adjust the bias so that we can use int(f) instead 1 // TODO: look at opts to transform / hint the Buffer.segments. 1 // TODO: support multiple subtables. For now, fall through and use 1 // TODO: there's no need to multiply by 0x101 in the switch below if 1 // TODO: this view call inside the inner loop can lead to many small 1 // TODO: add *image.CMYK src type after Go 1.5 is released. 1 // TODO: adjust r and sp (and mp?) if src.Bounds() doesn't contain 1 // TODO: add a caching layer, if we're using the io.ReaderAt? Note that 1 // TODO: how does this work with line breaking: drawing text up until a 1 // TODO: change the psType2CharstringsData.b.segments and 1 // TODO: should DrawString return the last rune drawn, so the next DrawString 1 // TODO: mmap the files. 1 // TODO: eliminate this constraint? If the cmap table is very large, load 1 // TODO: move the type aliases to draw.go once Go 1.16 is no longer supported. 1 // TODO: adjust the bias so that we can use int(f) instead 13 // TODO: transform / hinting. 1 // TODO: when extracting a single font (i.e. TTF) out of a font 1 // TODO: clip to dstMask.Bounds() if the color model implies that out-of-bounds means 0 alpha? 1 // TODO: ColoredGlyph for various emoji? 1 // TODO: a Kaiser-Bessel kernel? 1 // TODO: Others? 1 // TODO: hdmx, vmtx? Others? 1 // TODO: a smooth vs sharp edges option, for arbitrary rotations? 1 // TODO: API for looking up glyph variants?? For example, some fonts may 1 // TODO: if p.err == io.EOF, change that to a different error?? 1 // TODO: process the implicit "seac" command as per 5177.Type2.pdf 1 // TODO: have DrawRunes(s []rune)? DrawRuneReader(io.RuneReader)?? If we take 1 // TODO: Clip image.Image? 1 // TODO: implement fmt.Formatter for %f and %g. 1 // TODO: Ligatures? Shaping? 1 // TODO: Convert kern table handling into kernFunc and decide in Parse if 1 // TODO: an exported field equivalent to the mask point in the 1 // TODO: do we assume that the input is in any particular Unicode Normalization 1 // TODO: parse the CBLC (and CBDT) tables. For now, we return a font 1 // TODO: don't use strconv, to avoid the conversions from []byte to string? 1 // TODO: SrcP image.Point for Src images other than *image.Uniform? How 1 // TODO: set prevC = '\ufffd'? 6 // TODO: more operators. 1 // TODO: move this into the f64 package, once we work out the convention for 1 // TODO: base, gdef, gsub, jstf, math? 1 // TODO: who is responsible for caches (glyph images, glyph indices, kerns)? 1 // TODO: non-zero vs even-odd winding? 2 // TODO: pass h, the font.Hinting. 1