setD method
Copies the fields of o into this instance and returns this.
Implementation
@override
FontD setD(FontD o) {
baseSize = o.baseSize;
glyphCount = o.glyphCount;
glyphPadding = o.glyphPadding;
texture.setD(o.texture);
recs = .generate(o.glyphCount, (i) => o.recs[i]);
glyphs = .generate(o.glyphCount, (i) => o.glyphs[i]);
return this;
}