Welcome, Guest. Please login or register.

Author Topic: TTF Font installed with TTFLib not working  (Read 1868 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
TTF Font installed with TTFLib not working
« on: July 02, 2007, 09:50:58 AM »
Hi all

I have just installed TTFLib on my A4000 and used ttfmanager to install a TTF font. It successfully created the .font and .otag files in the FONTS: drawer, but the font does not show up in any font requesters, e.g. font prefs. Any ideas?

TIA

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: TTF Font installed with TTFLib not working
« Reply #1 on: July 02, 2007, 09:56:22 AM »
I should add that I opened the otag file with a hex editor and checked where it is looking for the ttf file. The original ttf is in the location it wants it to be.

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: TTF Font installed with TTFLib not working
« Reply #2 on: July 02, 2007, 10:21:37 AM »
This is strange. I just downloaded FontViewer from Aminet and this correctly displayed the font. After this, the font is available in my Workbench Fonts prefs! The font doesn't look very good compared to the original TTF. Is there a reason for this?

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline jmbattle

  • Sr. Member
  • ****
  • Join Date: May 2005
  • Posts: 324
    • Show only replies by jmbattle
    • http://www.amigainabox.co.uk
Re: TTF Font installed with TTFLib not working
« Reply #3 on: July 02, 2007, 02:22:24 PM »
The Workbench font prefs seems to be rather fussy with the fonts it lists, however as you have found, once the font is opened by another process it will show up.

You may also be able to manually type the name of the font into the requestor.

As for the poor legibility of the fonts, experiment with the 'Bounding Box' settings when installing the font - this will have a significant effect over the rendered appearance, especially at small point sizes.  

If I am correct in thinking that you are searching for a new UI/icon font, anti-aliasing will improve things dramatically.  Software that utilises ttengine.library (another truetype solution) provides a reasonably attractive anti-aliasing technique, which is very effective AmiStart and Scalos, for example.

And of course, thanks to Bernd #3's wonderful progress back-porting AROS to 68k, truetype fonts can be implemented system-wide using AfA-OS.

Good luck!

James
x
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: TTF Font installed with TTFLib not working
« Reply #4 on: July 02, 2007, 02:30:32 PM »
Quote
jmbattle wrote:
As for the poor legibility of the fonts, experiment with the 'Bounding Box' settings when installing the font - this will have a significant effect over the rendered appearance, especially at small point sizes.  

Thanks! I will play with that option and see what happens.

Quote
jmbattle wrote:
If I am correct in thinking that you are searching for a new UI/icon font, anti-aliasing will improve things dramatically.  Software that utilises ttengine.library (another truetype solution) provides a reasonably attractive anti-aliasing technique, which is very effective AmiStart and Scalos, for example.

Is there any way to get Workbench to use those fonts in order to get the anti-aliased effects in the UI?

Quote
jmbattle wrote:
And of course, thanks to Bernd #3's wonderful progress back-porting AROS to 68k, truetype fonts can be implemented system-wide using AfA-OS.

Unfortunately I could never get AfA-OS to work :-(

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline jmbattle

  • Sr. Member
  • ****
  • Join Date: May 2005
  • Posts: 324
    • Show only replies by jmbattle
    • http://www.amigainabox.co.uk
Re: TTF Font installed with TTFLib not working
« Reply #5 on: July 02, 2007, 02:51:19 PM »
I believe the 'Custom' bounding box setting provided the best (clearest) results.  Years ago, I used this setting to convert a truetype font into an Amiga bitmap font, then 'touched-up' the pixels of the misshaped characters manually.  This was the AIAB system/shell font.

Currently, Scalos is only able to render icons fonts using ttengine.library, while the remaining elements of the UI will continue to use the bitmap fonts defined in font.prefs.

Honestly speaking, I would heartily recommend persevering with AfA-OS, as this will breathe new life into your 68k system.  Download AmiKit or even AIAB, then analyse the startup-sequence of either package to see how all the patches work together with AfA-OS.  Actually, forget about AIAB - it's a mess! ;)

If you are still encountering problems with AfA-OS, contact Bernd for advice - it is quite likely that he will help you resolve the issue, or possibly even implement a fix.

I hope this helps, cheers,
James
x

 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: TTF Font installed with TTFLib not working
« Reply #6 on: July 02, 2007, 07:30:30 PM »
Thanks James for convincing me to try AfA-OS again. I got it working with some help in this thread, and the fonts look really great!

Thanks again

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10