Create a new instance of ColorString from a darkplaces-formatted text
        :param text: darkplaces text string (either str or bytes)
        :param use_unicode_for_glyphs: convert unicode glyphs to ascii
        :return: ColorString instance

def from_dp(cls, text, use_unicode_for_glyphs=True):
        """
        Create a new instance of ColorString from a darkplaces-formatted text
        :param text: darkplaces text string (either str or bytes)
        :param use_unicode_for_glyphs: convert unicode glyphs to ascii
        :return: ColorString instance
        """
        from .grammars.dp import parse as parse_dp
        if isinstance(text, bytes):
            original_bytes = text
            text = text.decode('utf8')
        else:
            original_bytes = text.encode('utf8')
        instance = parse_dp(text, use_unicode_for_glyphs=use_unicode_for_glyphs)
        instance.original_type = 'dp'
        instance.original_bytes = original_bytes
        return instance