fire-eggs / YAIV

"Yet Another Image Viewer"
MIT License
3 stars 0 forks source link

Recommendation : Self drawing TTF renderer #21

Open rageworx opened 3 years ago

rageworx commented 3 years ago

Some years ago, I made TTF renderer for FLTK. And it makes better rednering result for any platforms.

You can own self TTF or OTF in resource, and load it then should render text on 3 or 4 depth Fl_RGB_Image. ( I didn't made it for gray image surface ) And there's True type renderer with this,

Dependencies : libfreetype2 Maybe it helps your YAIV for better looks...

fire-eggs commented 3 years ago

Neat! Thanks!

rageworx commented 3 years ago

Dear @fire-eggs , FLFTRender updated to supporting for 2 depth images, but recommend use like this ..

Render image information of fixed region box? widget ?

Render image information to text sized.

Some famous image viewing program 'Honey view (꿀뷰)' in South Korea displays image infomation as like this: image ( this picture is my embedded system, and took from smartphone, displays EXiF infromation or left side by TAB key )

You can make it invisible Fl_Box as overlay layer, and displays anything on Fl_Box with Fl_RGB_Image.

And HoneyView, it's freeware, and English version also availed - https://en.bandisoft.com/honeyview/

rageworx commented 3 years ago

plus, some other case what I'm using for,

  1. image
  2. image

( analystic displays with fl_imgtk on Fl_RGB_Image )

Font hinting, image

fire-eggs commented 3 years ago

I was playing with using "secondary" windows to display additional info for images. But now I see your work here, I'm thinking an overlay approach could work really nice too!