Disclaimer: This answer is my interpretation of findings on a random test. Use at own risk!
Here a screen shot of test results gotten from a DXF file with random text style definitions:
So, it should be safe to assume that:
- Italic style has the
$01000000
bit set, - Bold style has the
$02000000
bit set, - The 1st Word of the value designates the family charset.
Then the challenge left seems to be to get the family charset value. You could try to omit it since it is defined by the font name and filename. However, a test with deleting the whole 1071 group also clears the font style, although that is even so defined by the font filename.