Of course ExifTool cannot do that...

Started by kbellis, August 09, 2022, 05:14:44 PM

Previous topic - Next topic

kbellis

... but maybe, just maybe you might know what tool could?

There they all are C:\Windows\Fonts, so many fonts! And there are so many properties in a given font, sort of like an image's exif and which are discoverable, but don't have a very cool and nifty means of extracting their metadata like ExifTool affords into a spreadsheet.

The thing that has me curious about this is an idea about winnowing out some ancient fonts which when these fonts were converted from old Type 1 to TrueType they were not converted properly.

I'll continue looking elsewhere but thought that it would hurt to check in here at "Metadata R Us" :)

Phil Harvey

> exiftool c:/Windows/Fonts/trebuc.ttf
ExifTool Version Number         : 12.44
File Name                       : trebuc.ttf
Directory                       : c:/Windows/Fonts
File Size                       : 254 kB
File Modification Date/Time     : 2016:07:16 07:42:07-04:00
File Access Date/Time           : 2016:07:16 07:42:07-04:00
File Creation Date/Time         : 2016:07:16 07:42:07-04:00
File Permissions                : -rw-rw-rw-
File Type                       : TTF
File Type Extension             : ttf
MIME Type                       : application/x-font-ttf
Copyright                       : © 2016 Microsoft Corporation. All rights reserved.
Font Family                     : Trebuchet MS
Font Subfamily                  : Regular
Font Subfamily ID               : Microsoft Trebuchet
Font Name                       : Trebuchet MS
Name Table Version              : Version 5.14
PostScript Font Name            : TrebuchetMS
Manufacturer                    : Microsoft Corporation
Designer                        : Vincent Connare
Vendor URL                      : http://www.microsoft.com
Designer URL                    : http://www.microsoft.com/typography/
License                         : Microsoft supplied font. You may use this font to create, display and print content as permitted by the license terms, or terms of use, of the Microsoft product, service or content in which this font was included. You may only (i) embed this font in content as permitted by the embedding restrictions included in this font; and (ii) temporarily download this font to a printer or other output device to help print content. Any other use is prohibited.
License Info URL                : http://www.microsoft.com/typography/fonts/
Font Subfamily (ca)             : Normal
Font Subfamily (cs)             : obyčejné
Font Subfamily (da)             : normal
Font Subfamily (de-DE)          : Standard
Font Subfamily (el)             : Κανονικά
Copyright (en-US)               : © 2016 Microsoft Corporation. All rights reserved.
Font Family (en-US)             : Trebuchet MS
Font Subfamily (en-US)          : Regular
Font Subfamily ID (en-US)       : Microsoft Trebuchet
Font Name (en-US)               : Trebuchet MS
Name Table Version (en-US)      : Version 5.14
Post Script Font Name (en-US)   : TrebuchetMS
Manufacturer (en-US)            : Microsoft Corporation
Designer (en-US)                : Vincent Connare
Description (en-US)             : Trebuchet, designed by Vincent Connare in 1996, is a humanist sans serif designed for easy screen readability. Trebuchet takes its inspiration from the sans serifs of the 1930s which had large x heights and round features intended to promote readability on signs. The typeface name is credited to a puzzle heard at Microsoft, where the question was asked, "could you build a Trebuchet (a form of medieval catapult) to launch a person from the main campus to the consumer campus, and how?" The Trebuchet fonts are intended to be the vehicle that fires your messages across the Internet. "Launch your message with a Trebuchet page".
Vendor URL (en-US)              : http://www.microsoft.com/typography/fonts/
Designer URL (en-US)            : http://www.microsoft.com/typography/
License (en-US)                 : Microsoft supplied font. You may use this font to create, display and print content as permitted by the license terms, or terms of use, of the Microsoft product, service or content in which this font was included. You may only (i) embed this font in content as permitted by the embedding restrictions included in this font; and (ii) temporarily download this font to a printer or other output device to help print content. Any other use is prohibited.
License Info URL (en-US)        : http://www.microsoft.com/typography/fonts/
Font Subfamily (fi)             : Normaali
Font Subfamily (fr-FR)          : Normal
Font Subfamily (hu)             : Normál
Font Subfamily (it-IT)          : Normale
Font Subfamily (nl-NL)          : Standaard
Font Subfamily (no-NO)          : Normal
Font Subfamily (pl)             : Normalny
Font Subfamily (pt-BR)          : Normal
Font Subfamily (ru)             : Обычный
Font Subfamily (sk)             : Normálne
Font Subfamily (sv-SE)          : Normal
Font Subfamily (tr)             : Normal
Font Subfamily (sl)             : Navadno
Font Subfamily (eu)             : Arrunta
Font Subfamily (es-MX)          : Normal
Font Subfamily (pt-PT)          : Normal
Font Subfamily (es-ES)          : Normal
Font Subfamily (fr-CA)          : Normal

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

kbellis

HOLY COW! Phil, you're brilliant!! I'm continually in awe of your work!
https://drive.google.com/file/d/10wpK9bElIXfB2qmF9S3Sx7-2JycBhnQC/view?usp=sharing


StarGeek

Out of curiosity, I went looking for other command line font programs.  You might also look at the LCDF Typetools.  Specifically, otfinfo, which says
    reports information about OpenType and TrueType fonts, such as the OpenType features and Unicode code points they support, or the contents of their size optical size features.

This page has binaries for Windows/Mac/Linux.
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

WaffleHouse2t2

Once poor quality font files have been identified, one might wander over to https://ctan.org/ to see if there is a replacement font file of better quality.  CTAN is TeX's site for packages, CPAN (https://cpan.org/) is modeled on CTAN.