BRT Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Welcome to the Bridgetek Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ Bridgetek Support

Please refer to our website for detailed information on all our products - Bridgetek - Bridging Technology

Author Topic: Eve3 built-in fontset  (Read 9358 times)

darkjezter

  • Newbie
  • *
  • Posts: 32
    • View Profile
Eve3 built-in fontset
« on: September 08, 2020, 10:53:05 PM »

Greetings all,

I've been looking to see if there are any details available on the font sets which are built into the Eve3 series of chips, but haven't found anything specific.

I'm interested in knowing what the different fonts are, and what licenses apply to their use.  It would also be helpful to know for each of the built in fonts, what the sizes are.  (Regarding size: is there a corresponding point size assuming a given dpi, or some other similar metric)

This information will be helpful to us both for updating our user-manual to reflect the new graphic layouts, and for the purposes of duplicating the appearance of our UI on other platforms.

Many thanks!
Logged

BRT Community

  • Administrator
  • Hero Member
  • *****
  • Posts: 748
    • View Profile
Re: Eve3 built-in fontset
« Reply #1 on: September 09, 2020, 04:00:00 PM »

Hello

Here are details of which fonts are used. The fonts are in three groups:

•             Non-proportionate and non-anti-aliased - Fixed-width CP437 fonts are taken from the FreeBSD distribution's console driver. Please see CP437 8x8 and 8x16 (handles 16,17,18,19).
•             Proportionate non-anti-aliased - Variable width fonts are helvR08, etc. from X11 (handles 20 to 25)
•             Proportionate anti-aliased fonts were taken from the roboto regular file and converted into bitmap and into L4 format.

Best Regards,
BRT Community
« Last Edit: September 09, 2020, 04:06:25 PM by BRT Community »
Logged

Rudolph

  • Sr. Member
  • ****
  • Posts: 393
    • View Profile
Re: Eve3 built-in fontset
« Reply #2 on: April 27, 2024, 09:57:44 PM »

I need to use Roboto and compared what I converted to builtin font 31, looked really similar.
Now I remembered this post and it turns out that fonts 26 to 34 *are* Roboto. :-)
I need more than "Basic Latin" though, at very least some from "Latin-1 Supplement" as well.

Ok, I have a couple more questions now.
I am using a BT817 and the datasheet says that the four largest fonts are encoded in ASTC 8x8 format.
And using both ROM fonts and custom fonts would mean that I could reduce the usage of custom fonts.

What are the font sizes the internal fonts are converted to?
To match font number 31 I had to convert to a font size of 43, at least when viewed in ESE side by side.

But when I zoom in it does not look exactly the same although I used ASTC 8x8 and I have to move my converted font one pixel down.
The anti-aliasing is not the same.
See, the attachments, I used the Roboto-Regular.ttf from the archive you attached and converted it with EAB 2.11.0.
This Roboto-Regular.ttf is version 1.000 from 2011.

Generated Folder: Roboto-Regular_43_Extend
Format:           ASTC 8x8
Compressed:       exhaustive
Layout Width:     96
Layout Height:    6
Pixel Width:      48
Pixel Height:     48
Number of characters provided by the user: 119
Number of characters in xfont file: 256
Number of characters eligible for conversion: 119
   Success: 119
   Fail:    0

The Roboto-Regular_43_ASTC.glyph has a size of 103104 bytes.

When I convert Roboto-Regular.ttf version 2.137 from 2017 though I get a much different result:

Generated Folder: Roboto-Regular_43_Extend
Format:           ASTC 8x8
Compressed:       exhaustive
Layout Width:     128
Layout Height:    7
Pixel Width:      64
Pixel Height:     56
Number of characters provided by the user: 119
Number of characters in xfont file: 256
Number of characters eligible for conversion: 119
   Success: 119
   Fail:    0

The Roboto-Regular_43_ASTC.glyph has a size of 160384 bytes.

But a font size of 42 comes out like this:
Generated Folder: Roboto-Regular_42_Extend
Format:           ASTC 8x8
Compressed:       exhaustive
Layout Width:     96
Layout Height:    6
Pixel Width:      48
Pixel Height:     48
Number of characters provided by the user: 119
Number of characters in xfont file: 256
Number of characters eligible for conversion: 119
   Success: 119
   Fail:    0

The Roboto-Regular_43_ASTC.glyph has a size of 103104 bytes.

So the V2 font changed something which requires to use a font size of one less.

I also converted the font to L4 and L8 which results in the same "wrong" anti-aliasing.
But now I need to move the converted font two pixels down to match the ROM font.

The shift and the change in anti-aliasing is odd, is that due to EAB using different parameters now compared to when the fonts for the BT817 got converted?
The ROM fonts do look more sharp, again, at least in ESE.
Logged

BRT Community

  • Administrator
  • Hero Member
  • *****
  • Posts: 748
    • View Profile
Re: Eve3 built-in fontset
« Reply #3 on: May 01, 2024, 02:49:22 PM »

Hello,

I'm just double checking what the exact font size conversions are for the inbuilt fonts with the development team.

But the difference between the fonts relates to when the conversion was done, as you have alluded too. The ROM fonts in all versions of EVE are the same, and the same data is used to render these fonts from EVE to EVE4, as such this conversion was performed during the initial EVE release with an older version of the font converter. Since this time there have been several updates to the font conversion utility and its aliasing settings which accounts for the changes you have noted between these versions of the font in ESE.

Best Regards,
BRT Community
Logged