Skip to content

MicroEJ/Example-ArabicFont

Repository files navigation

Overview

This example shows how to use the arabic fonts.

Usage

  1. First of all, you must have a font containing the characters of the unicode block called Arabic Presentation Forms-B i.e. the range 0xFE70-0xFEFF.

  2. Then your strings must be formed with the characters of this range too (as you can see with the strings of HowToUseArabicFontDisplayable.TITLE and HowToUseArabicFontDisplayable.AVAILABLE_TEXTS, /u0020 corresponds to the space character).

  3. Finally the order of the strings must be reversed.

Run on MicroEJ Simulator

  1. Right Click on the project
  2. Select Run as -> MicroEJ Application
  3. Select your platform
  4. Press Ok

Run on device

Build

  1. Right Click on HowToUseArabicFont.java
  2. Select Run as -> Run Configuration
  3. Select MicroEJ Application configuration kind
  4. Click on New launch configuration icon
  5. Select Execute on Device
  6. Select Build & Deploy
  7. Go to Execution tab
    • Select your platform
  8. Press Apply
  9. Press Run
  10. Copy the generated .out file path

Flash

  1. Use the appropriate flashing tool.

Requirements

  • MicroEJ Studio or SDK 4.0 or later
  • A platform with at least:
    • EDC-1.2 or higher
    • MICROUI-2.0 or higher

Dependencies

All dependencies are retrieved transitively by Ivy resolver.

Source

N/A

Restrictions

None.

About

The following projects show how to use the arabic fonts.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages