infoxicator / react-native-star-prnt

React-Native bridge to communicate with Star Micronics Bluetooth/LAN Printers
MIT License
67 stars 65 forks source link

AppendBitmapText will cut off the text #75

Closed Iamivan1996 closed 1 year ago

Iamivan1996 commented 1 year ago

MicrosoftTeams-image

image

Printer model : TSP700II

i am just randomly print some Chinese characters by appendBitmapText in fontsize 32 and 34, as you can see, the first line seems normal, but the second line is getting cut off and also fontsize 34 is getting cut off too. When fontsize >=34 , most of the text will getting cut off.

I am using appendBitmapText because some of the printer can not print out Chinese characters but some of them do by using append function, even in the same printer model and same coding, so weird. Did somebody has same issue?

Iamivan1996 commented 1 year ago
image

i am just update the Typeface to DEFAULT_BOLD and the issue is fixed