How fonts work on Porteus and why it matters

New features which should be implemented in Porteus; suggestions are welcome. All questions or problems with testing releases (alpha, beta, or rc) should go in their relevant thread here, rather than the Bug Reports section.
User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

How fonts work on Porteus and why it matters

Post#16 by Ed_P » 04 Nov 2020, 17:00

287.3375 x 165.1
Ed

donald
Full of knowledge
Full of knowledge
Posts: 2064
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

How fonts work on Porteus and why it matters

Post#17 by donald » 04 Nov 2020, 17:59

ups..now on page 2
I edited my last post
...calculate the DPI and/or read the given link...have fun. :)

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

How fonts work on Porteus and why it matters

Post#18 by Ed_P » 04 Nov 2020, 18:25

Ed_P wrote:
04 Nov 2020, 17:00
287.3375 x 165.1
donald wrote:
04 Nov 2020, 16:49
:) 11 5/16" x 6 1/2" for the visual part..in mm please. :)
Set the display to its native resolution and measure only the visual part.

EDIT
google says this would be ~ 287,3 x 165,1 mm - a very small device, could that be?
so this 290mm x 170mm seems to be correct.

DPI setting explained:
https://linuxreviews.org/HOWTO_set_DPI_in_Xorg
It's a Dell Inspiron 13 notebook with a 13" screen.
donald wrote:
04 Nov 2020, 06:23
xrandr | grep -w connected showed 1360x768 and 410mm x 230mm, this is correct.

Now some mathematics:
1360 pixels divided by 410 millimeters multiplied with 25.4 millimeters per inch = dots per inch (DPI).
768 pixels divided by 230 millimeters multiplied with 25.4 millimeters per inch = dots per inch.
= 84 DPI native.
(1920 / 290) x 25.4 = 168.1655
(1080 / 170) x 25.4 = 161.3647

Added in 20 minutes 14 seconds:

Code: Select all

guest@porteus:~$ xrdb -query | grep dpi
Xft.dpi:	96
Ed

donald
Full of knowledge
Full of knowledge
Posts: 2064
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

How fonts work on Porteus and why it matters

Post#19 by donald » 04 Nov 2020, 21:33

Dell Inspiron 13 --> info from Dell for this one:

Display 13,3" = 293,6mm x 165,1mm = dpi 166
..................................................................................

The output of xrdb -query | grep dpi

Xft.dpi: 96 is the font size that you have to adjust separately.

I'm not familiar with the DE you use, in xfce it is settings > appearance > fonts

Image

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

How fonts work on Porteus and why it matters

Post#20 by Rava » 10 Nov 2020, 04:08

fulalas thanks for this post. :friends:
ncmprhnsbl wrote:
01 May 2020, 04:40
i guess if we go for 40, we should probably change to a more compatible font.. ?
we sure should update fonts to more compatible fonts if we go 40
Ed_P wrote:
01 May 2020, 04:59
:%)

Code: Select all

guest@porteus:~$ xpdyinfo package > $ xdpyinfo | grep dots 
bash: xpdyinfo: command not found
guest@porteus:~$ su
Password: 
root@porteus:/home/guest# xpdyinfo package > $ xdpyinfo | grep dots 
bash: xpdyinfo: command not found
Ed_P he wrote
ncmprhnsbl wrote:
01 May 2020, 04:40
with xpdyinfo package
(emphasis by me)
adding the word "package" like so made it obvious to me that xpdyinfo is not part of default port but needs to be added as additional package. or am i the only one interpreting ncmprhnsbl syntax like so? :shock:
Cheers!
Yours Rava

nanZor
Shogun
Shogun
Posts: 381
Joined: 09 Apr 2019, 03:27
Distribution: Porteus 5.01 x86-64 LXQT

How fonts work on Porteus and why it matters

Post#21 by nanZor » 16 Mar 2021, 10:01

How about more consolefonts larger than Terminus-16 size in the release iso?
/usr/share/kbd/consolefonts

For those occasions when this gray-beard boots into text-only mode from the RC2 on my uefi-only machines, text is teeny by default.

Normally I just use
setfont /path/to/consolefont/mybigTerminusBold20.psf.gz :)

when I'm in that mood to go non-gui.

Not a huge deal, since I can always download consolefonts from repos, or just borrow them from other distro's consolefonts and plug them in with setfont

Maybe replace the "Dr-Dos" fonts with a collection of terminus fonts that might be more useful these days? Not a showstopper, just a thought.
That's a UNIX book - cool. -Garth

Post Reply