Jump to content


Photo

bbZero and unicode/bbInterface and font rendering

bbinterface font rendering bitmap anti-aliasing aa bbzero unicode

  • Please log in to reply
5 replies to this topic

#1 jumiknight

jumiknight

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 15 August 2015 - 10:57 PM

Hello. I've been having some problems with font rendering on bbInterface and unicode characters.

Bitmap fonts, which aren't supposed to have anti-aliasing or anything else, are rendered poorly on bbInterface (with pink shadows, etc), even though shadows are disabled on its menus. The same fonts seems to be working fine on blackbox bar.

Here are a couple of shots.

Posted Image

Also, there fonts available on bbstylemaker menu that aren't on the font menu in bbInterface. I sure could just disable custom font in bbInterface so it uses the default one, but that would make impossible to use certain custom fonts in different controls.

Also, some special fonts like uushi: https://github.com/phallus/fonts

displays the same way on non-bbInterface plugins, like blackbox bar, even though they render fine on other applications, such as terminals.

Posted Image

As for the other problem, everywhere it seems to have problems displaying unicode with certain fonts, even though the font in specific displays unicode everywhere else. On the menu, it's Open Sans, on the right, it's lime (blackboxbar).

Posted Image



#2 pitkon

pitkon

    Administrator

  • Head Administrator
  • 1,210 posts
  • LocationAthens & Nafplio, Greece

Posted 16 August 2015 - 05:53 AM

Seems like you are trying to use fonts on a bbi element using as Style= None. Is this the case? If yes, then what you see is "magic pink". Fonts can't be used on elements when style is set to none. Yet.



#3 spoonm

spoonm

    Member

  • Members
  • PipPip
  • 18 posts

Posted 16 August 2015 - 07:50 AM

Posted Image
 
As you can see, UTF-8 has been broken on the menu for quite some time. I'm on rc5, but I believe this happens on rc6 as well, given the small changelog.
 
If you're using MacType for the rendering, have you tried disabling rendering for specific fonts? I know this isn't intended behaviour, but I'm trying to think of a workaround.


  • pitkon likes this

#4 jumiknight

jumiknight

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 18 August 2015 - 03:23 AM

Seems like you are trying to use fonts on a bbi element using as Style= None. Is this the case? If yes, then what you see is "magic pink". Fonts can't be used on elements when style is set to none. Yet.

The style is set to custom, and using other styles still won't fix it, even with different fonts.

 

 

 

 

Posted Image
 
As you can see, UTF-8 has been broken on the menu for quite some time. I'm on rc5, but I believe this happens on rc6 as well, given the small changelog.
 
If you're using MacType for the rendering, have you tried disabling rendering for specific fonts? I know this isn't intended behaviour, but I'm trying to think of a workaround.

Hah, it's funny that unmarking the selection actually activates it. Thanks for the tip, spoonm.

I'll try adding blackbox to MacType exclusions list, don't know why I didn't thought of this earlier.


  • pitkon likes this

#5 mojmir

mojmir

    BB Developer

  • Moderators
  • 254 posts

Posted 20 August 2015 - 04:37 PM

please give me a brief description what do i have to do to reproduce this



#6 jumiknight

jumiknight

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 23 August 2015 - 07:16 PM

please give me a brief description what do i have to do to reproduce this

This is my actual setup:

Posted Image

 

The lower bar is composed of blackboxbar and bbInterface. The far left is blackboxbar, everything else is bbInterface. The first three are control modules for opening programs, and the last one is just a clock/date.







Also tagged with one or more of these keywords: bbinterface, font, rendering, bitmap, anti-aliasing, aa, bbzero, unicode

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users