Skip to content

Question: How does the "TrueType" functionality work? #3

Open

Description

@levanter-dev

Hello,

I'm using your app in my project and currently struggling to copy the same functionality over to JS. My Android app does send it with your app, but there's a RPI that only has NodeJS and needs to send the same data that is sent via RawBT (arabic text) and must be sent in TrueType font to make it work.

I understand that the issue is not related but couldn't find a way to contact you.

How does the TrueType font generation work? is it a generated image with TrueType font used? I appreciate your help!

Activity

  1. Muraveiko commented on Apr 28, 2025

    @Muraveiko
    Member

    React is similar to Node. See
    https://github.com/402d/react-native-rawbt-api/blob/main/rawbtapi.ts

    Api transfers text in utf-8. Setup your printer in Rawbt.
    Your printer.More option. Localization - "TrueType Fonts"

  2. Muraveiko commented on Apr 28, 2025

    @Muraveiko
    Member
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions