setD method
Copies the fields of the Dart struct o into this instance.
Implementation
@override
FontD setD(FontD o) {
originalPointer ??= o.originalPointer;
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;
}