Jump to content
IGNORED

Do we need a relative font tgi-driver also?


karri

Recommended Posts

  • 3 weeks later...

I just committed an Arial font into https://bitbucket.org/karri/arial

 

It is prettier but uses more pixels.

 

post-2099-0-26095800-1356564112_thumb.png

 

As usually you just need arial.s from the repository to use it.

 

As the size of characters are no longer multiples of 8 you cannot use color index 0 for printing characters as you can with the standard font.

 

So just use tgi_color(COLOR_DARKBROWN) to get the results shown here.

Edited by karri
Link to comment
Share on other sites

Very useful as always. I think it is very valuable to have just a single .s file for resources. Can your sp65.exe tool also works with .bmp files? Are pcx and bmp significantly different?

I have also created a new font with a second one on the way, but it is using the "old way" with the sprpck.exe tool. I'll refactor it using your new tool and also create .s files. I'll ask the maker of the fonts if it is OK to upload them.

 

BTW, there is no tgi_getbgcolor function, but that might be a nice addition to the lynx lib. ;)

Edited by LX.NET
Link to comment
Share on other sites

As the size of characters are no longer multiples of 8 you cannot use color index 0 for printing characters as you can with the standard font.

 

So just use tgi_color(COLOR_DARKBROWN) to get the results shown here.

Curious to hear and understand why this is the case? You are using literal 1-bit pixel data. How does the multiples of 8 relate to the color index 0?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...