You are not logged in.

#1 2022-11-26 09:48:15

Gill Bates
Member
Registered: 2022-10-19
Posts: 28

[SOLVED] ANSI Shadow.flf displayed incorrectly

Good Saturday everyone,

No matter if I curl this raw, or clone the repo with git clone, the font is displayed incorrectly.
I use nano and geany.

This is how the font looks in github https://github.com/xero/figlet-fonts/bl … ow.flf#L30

And this is how it looks in my nano, geany, terminal emulator or VT

https://ibb.co/mHQjnFm

Is this an encoding issue,?

When I use

 xclip -selection c 

to copy to clipboard and paste here, it looks correctly, which really confuses me.

 █████╗ ███╗   ██╗███████╗██╗
██╔══██╗████╗  ██║██╔════╝██║
███████║██╔██╗ ██║███████╗██║
██╔══██║██║╚██╗██║╚════██║██║
██║  ██║██║ ╚████║███████║██║
╚═╝  ╚═╝╚═╝  ╚═══╝╚══════╝╚═╝
         

Thanks for reading, have a nice day.

Last edited by Gill Bates (2022-11-30 07:55:15)

Offline

#2 2022-11-26 14:07:39

seth
Member
Registered: 2012-09-03
Posts: 49,977

Re: [SOLVED] ANSI Shadow.flf displayed incorrectly

And this is how it looks in my nano, geany, terminal emulator or VT

What would you consider to be wrong about that?

Online

#3 2022-11-27 11:36:00

Gill Bates
Member
Registered: 2022-10-19
Posts: 28

Re: [SOLVED] ANSI Shadow.flf displayed incorrectly

Thanks for your reply seth.

You see the font has gaps in each letter, in geany they are barely visible, in nano/VT not at all.

In nano/terminal/VT I can think of line spacing, but why are there way smaller gaps in geany, I can't understand it.

Original:
https://github.com/xero/figlet-fonts/bl … ow.flf#L30
Geany:
https://ibb.co/R9TLMPQ
nano/terminal/VT
https://ibb.co/mHQjnFm

The font is nothing special without the gaps, which is just a minor thing.
To understand the workings that cause the different appearance is the true mystery.

Last edited by Gill Bates (2022-11-27 11:43:46)

Offline

#4 2022-11-27 14:29:31

seth
Member
Registered: 2012-09-03
Posts: 49,977

Re: [SOLVED] ANSI Shadow.flf displayed incorrectly

https://github.com/xero/figlet-fonts/bl … ow.flf#L30 is gonna look differently for everyone, depending on the local font settings.
Other than that, this comes down to the specific font and terminal emulator settings.
█ is utf8 2588, the full block, https://www.compart.com/de/unicode/U+2588
It's not supposed to have _any_ margins, but depending on the settings of your display device there might be some (but those are parts of the terminal or text editor)

(This means your terminal is actually the correct rendering and geany - and probably your browser - the "incorrect" one, though a text editor isn't a terminal emulator)

Online

Board footer

Powered by FluxBB