• Decodes a dim-style color field from LibreDWG / DXF.

    Accepts:

    • plain ACI 0 / 1..255 / 256
    • packed CMC int32 (high byte 0xC0..0xC8)
    • LibreDWG CMC objects { method, index, rgb }

    Invalid values fall back to ByBlock so glyph construction never sees NaN ACI.

    Parameters

    • raw: unknown

    Returns AcCmColor