font/font.go (21 lines): - line 21: // TODO: who is responsible for caches (glyph images, glyph indices, kerns)? - line 73: // TODO: ColoredGlyph for various emoji? - line 74: // TODO: Ligatures? Shaping? - line 122: // TODO: Clip image.Image? - line 123: // TODO: SrcP image.Point for Src images other than *image.Uniform? How - line 127: // TODO: should DrawString return the last rune drawn, so the next DrawString - line 133: // TODO: do we assume that the input is in any particular Unicode Normalization - line 136: // TODO: have DrawRunes(s []rune)? DrawRuneReader(io.RuneReader)?? If we take - line 139: // TODO: how does this work with line breaking: drawing text up until a - line 155: // TODO: is falling back on the U+FFFD glyph the responsibility of - line 157: // TODO: set prevC = '\ufffd'? - line 175: // TODO: is falling back on the U+FFFD glyph the responsibility of - line 177: // TODO: set prevC = '\ufffd'? - line 232: // TODO: is falling back on the U+FFFD glyph the responsibility of - line 234: // TODO: set prevC = '\ufffd'? - line 256: // TODO: is falling back on the U+FFFD glyph the responsibility of - line 258: // TODO: set prevC = '\ufffd'? - line 283: // TODO: is falling back on the U+FFFD glyph the responsibility of - line 285: // TODO: set prevC = '\ufffd'? - line 303: // TODO: is falling back on the U+FFFD glyph the responsibility of - line 305: // TODO: set prevC = '\ufffd'? font/sfnt/sfnt.go (16 lines): - line 63: // TODO: eliminate this constraint? If the cmap table is very large, load - line 71: // TODO: similarly, load subroutine locations lazily. Adobe's - line 220: // TODO: add a caching layer, if we're using the io.ReaderAt? Note that - line 619: // TODO: cff2, vorg? - line 625: // TODO: Others? - line 631: // TODO: base, gdef, gsub, jstf, math? - line 637: // TODO: hdmx, vmtx? Others? - line 1033: // TODO: support multiple subtables. For now, fall through and use - line 1169: // TODO: parse the CBLC (and CBDT) tables. For now, we return a font - line 1364: // TODO: API for looking up glyph variants?? For example, some fonts may - line 1400: // TODO: transform / hinting. - line 1454: // TODO: look at opts to transform / hint the Buffer.segments. - line 1596: // TODO: pass h, the font.Hinting. - line 1667: // TODO: Convert kern table handling into kernFunc and decide in Parse if - line 1687: // TODO: this view call inside the inner loop can lead to many small - line 1746: // TODO: when extracting a single font (i.e. TTF) out of a font draw/impl.go (13 lines): - line 5136: // TODO: adjust the bias so that we can use int(f) instead - line 5235: // TODO: adjust the bias so that we can use int(f) instead - line 5355: // TODO: adjust the bias so that we can use int(f) instead - line 5470: // TODO: adjust the bias so that we can use int(f) instead - line 5590: // TODO: adjust the bias so that we can use int(f) instead - line 5705: // TODO: adjust the bias so that we can use int(f) instead - line 5829: // TODO: adjust the bias so that we can use int(f) instead - line 5953: // TODO: adjust the bias so that we can use int(f) instead - line 6077: // TODO: adjust the bias so that we can use int(f) instead - line 6201: // TODO: adjust the bias so that we can use int(f) instead - line 6317: // TODO: adjust the bias so that we can use int(f) instead - line 6431: // TODO: adjust the bias so that we can use int(f) instead - line 6566: // TODO: adjust the bias so that we can use int(f) instead font/sfnt/postscript.go (4 lines): - line 400: // TODO: if p.err == io.EOF, change that to a different error?? - line 803: // TODO: change the psType2CharstringsData.b.segments and - line 986: // TODO: more operators. - line 1417: // TODO: process the implicit "seac" command as per 5177.Type2.pdf draw/scale.go (4 lines): - line 94: // TODO: a smooth vs sharp edges option, for arbitrary rotations? - line 190: // TODO: a Kaiser-Bessel kernel? - line 329: // TODO: move this into the f64 package, once we work out the convention for - line 414: // TODO: clip to dstMask.Bounds() if the color model implies that out-of-bounds means 0 alpha? vector/vector.go (4 lines): - line 108: // TODO: an exported field equivalent to the mask point in the - line 269: // TODO: adjust r and sp (and mp?) if src.Bounds() doesn't contain - line 324: // TODO: non-zero vs even-odd winding? - line 360: // TODO: non-zero vs even-odd winding? draw/gen.go (3 lines): - line 58: // TODO: add *image.CMYK src type after Go 1.5 is released. - line 551: // TODO: there's no need to multiply by 0x101 in the switch below if - line 1339: // TODO: adjust the bias so that we can use int(f) instead example/font/main.go (1 line): - line 47: // TODO: mmap the files. draw/draw_go117.go (1 line): - line 21: // TODO: move the type aliases to draw.go once Go 1.16 is no longer supported. vp8/filter.go (1 line): - line 178: // The libwebp C code has a "TODO: only CURRENT is handled for now." font/plan9font/plan9font.go (1 line): - line 257: // TODO: don't use strconv, to avoid the conversions from []byte to string? math/fixed/fixed.go (1 line): - line 12: // TODO: implement fmt.Formatter for %f and %g.