Forrest logo
back to the xprop tool

xprop:tldr:8dd67

xprop: Display the point size of a font.
$ xprop -font "${font_name}" POINT_SIZE
try on your machine

The command "xprop" is used to get information about X11 window properties. It allows you to retrieve details about various aspects of a window, such as its size, position, title, and more.

In this specific command, the -font option is used to specify the font property of the window we want to inspect. "${font_name}" is a placeholder for the actual font name that you would substitute in the command. For example, if you wanted to get information about the font of a window named "mywindow", you would replace "${font_name}" with "mywindow".

The POINT_SIZE parameter is used to specify the size of the font in points. Points are a unit of measurement commonly used in typography to determine the size of fonts. By specifying the point size, you can retrieve information about the font's size in the given window.

In summary, the "xprop -font ${font_name} POINT_SIZE" command allows you to retrieve information about the font and its size in a particular X11 window.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the xprop tool