How to see examples of my installed fonts? [SOLVED]

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
pp4mnklinux
Posts: 375
Joined: Fri 23 Aug 2013, 06:56

How to see examples of my installed fonts? [SOLVED]

#1 Post by pp4mnklinux »

Hello:

I need a special font to edit a image.

I have hundreds of installed fonts, but I need to see examples of them all, to decide which one must I use.

Is there any program to see an example of all of them?

Thanks a lot.


If "yes", PLEASE, include al link to download and install it, THANKS
Last edited by pp4mnklinux on Sun 07 Jun 2020, 15:43, edited 1 time in total.
Distro: xenialpup64 7.5 XXL
Desktop Panel: JWM ~ FbBox 5.0

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#2 Post by musher0 »

Hello pp4mnklinux.

You don't necessarily need a dedicated font-viewing application.
If it's for typing a message in a picture, mtpaint provides a font selector.

To activate it, run mpaint, load your picture, then click on the "T" icon on
the icon line underneath the drop-down menu line.

A panel will open showing on the left the fonts you have available
in /usr/share/fonts/default/TTF. The fonts you have in OTHER
directories will NOT show in this list.

In the middle of this panel, there is a place where to type your text and
preview its appearance. When satisfied, click on the "Commit" button
and it will be pasted on the picture. This panel also offers text color and text
direction features.

Save the result when finished, obviously.

A screen capture is provided.

IHTH.
Attachments
mtpaint-font-selector.jpg
(130.75 KiB) Downloaded 143 times
Last edited by musher0 on Sat 09 May 2020, 18:18, edited 1 time in total.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
fabrice_035
Posts: 765
Joined: Mon 28 Apr 2014, 17:54
Location: Bretagne / France

#3 Post by fabrice_035 »

My solution :shock:

can be improved

Code: Select all

#!/bin/sh
# this script write abiword file contain and list all fonts

read -r -d '' VAR << EOM
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE abiword PUBLIC "-//ABISOURCE//DTD AWML 1.0 Strict//EN" "http://www.abisource.com/awml.dtd">
<abiword template="false" xmlns:ct="http://www.abisource.com/changetracking.dtd" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:svg="http://www.w3.org/2000/svg" xid-max="2" xmlns:dc="http://purl.org/dc/elements/1.1/" styles="unlocked" fileformat="1.1" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:awml="http://www.abisource.com/awml.dtd" xmlns="http://www.abisource.com/awml.dtd" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.9.1" xml:space="preserve" props="dom-dir:ltr; document-footnote-restart-section:0; document-endnote-type:numeric; document-endnote-place-enddoc:1; document-endnote-initial:1; lang:fr-FR; document-endnote-restart-section:0; document-footnote-restart-page:0; document-footnote-type:numeric; document-footnote-initial:1; document-endnote-place-endsection:0">
<metadata>
<m key="abiword.date_last_changed">Sat May  9 12:38:41 2020
</m>
<m key="abiword.generator">AbiWord</m>
<m key="dc.creator">root</m>
<m key="dc.date">Sat May  9 12:38:41 2020
</m>
<m key="dc.format">application/x-abiword</m>
</metadata>
<rdf>
</rdf>
<pagesize pagetype="A4" orientation="portrait" width="210.000000" height="297.000000" units="mm" page-scale="1.000000"/>
<section xid="1" props="page-margin-footer:0.5000in; page-margin-header:0.5000in; page-margin-right:1.0000in; page-margin-left:1.0000in; page-margin-top:1.0000in; page-margin-bottom:1.0000in">

EOM


OLDIFS=$IFS
IFS=$'\n' 

dest="listfont.abw"
rm -f "$dest"
echo "$VAR" > "$dest"

fc-list | awk -F":" '{print $2}' | awk -F"/" '{print $NF}' | awk -F"." '{print $1}' > font.txt

font=$(sort font.txt | uniq)

for line in `sort font.txt | uniq` ; do
echo $line
echo "<p style=\"Normal\" xid=\"2\"><c props=\"font-family:"$line"; font-size:8pt\">"$line" Hello, WORLD! 1234567890.</c></p>" >> "$dest"
echo "<p style=\"Normal\" xid=\"2\"><c props=\"font-family:"$line"; font-size:24pt\">"$line" HELLO, World! 1234567890.</c></p>" >> "$dest"
done

echo "</section>" >> "$dest"
echo "</abiword>" >> "$dest"
IFS="$OLDIFS"

# finaly show result
defaultwordprocessor "$dest" &
Image


can be improved


regard
Bionicpup64-8.0 _ Kernel 5.4.27-64oz _ Asus Rog GL752

User avatar
Mike Walsh
Posts: 6351
Joined: Sat 28 Jun 2014, 12:42
Location: King's Lynn, UK.

#4 Post by Mike Walsh »

I always thought there were those two 'default' apps in every Pup. Y'know; Menu->Desktop->Xfontsel font viewer or Gfontsel font viewer? Every Puppy has them 'built-in'.....

Or perhaps some of us have got so used to always looking for the complicated solutions that they've completely lost sight of the simple, obvious answers? :roll:

Why make life harder than it has to be, hm?


Mike. :wink:

HerrBert
Posts: 152
Joined: Thu 03 Nov 2016, 15:11
Location: NRW, Germany

#5 Post by HerrBert »

Also there is https://www.sttmedia.com/printmyfonts-download
I suggest to download PrintMyFonts for Linux as Portable Binary (1.68 MB)
No Installation required. Just unziip, open destination and click executable.
Screenshots

User avatar
pp4mnklinux
Posts: 375
Joined: Fri 23 Aug 2013, 06:56

THANKS EVERYBODY

#6 Post by pp4mnklinux »

Thanks for your solutions.

They help me a lot.- PROBLEM SOLVED
Distro: xenialpup64 7.5 XXL
Desktop Panel: JWM ~ FbBox 5.0

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#7 Post by rockedge »


Post Reply