POV-Ray : Newsgroups : povray.binaries.images : Quick hack for somewhat border characters : Quick hack for somewhat border characters Server Time
14 Mar 2025 08:03:58 EDT (-0400)
  Quick hack for somewhat border characters  
From: William F Pokorny
Date: 11 Mar 2025 07:27:06
Message: <67d01e0a$1@news.povray.org>
In the off topic forum there was recently mention of bordered characters.

It's a hack, but you can get somewhat of a bordered character effect in 
POV-Ray where you are using a font which offers different styles like 
regular, bold, italic and bolditalic.

You can place additional text{} objects with differing fonts slightly 
behind the regular style font.

Because of how fonts typically work they are often constrained 
vertically so it is a hack - but quick...

In the attached image.

   On the left LiberationMono-Regular.ttf with LiberationMono-Bold.ttf 
behind.

   In the middle LiberationMono-Regular.ttf with 
LiberationMono-Italic.ttf behind.

   On the right Roboto-Regular.ttf with Roboto-Bold.ttf behind. Showing 
that though this font isn't a mono-pitch font (it supports kerning) the 
trick / effect is the same per character because the kerning seems to 
often (always?) be the same across styles.

Bill P.


Post a reply to this message


Attachments:
Download 'quickbordered.jpg' (52 KB)

Preview of image 'quickbordered.jpg'
quickbordered.jpg


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.