Ask Your Question
0

is there a list of fonts some place?

asked Aug 30 '16

j0h gravatar image

updated Aug 30 '16

I am using putText, on the screen, with an example, that uses Hersey Font. I would like to change the font, and to know what I can use for fonts.

I am using C++, on a linux platform, if it matters. I used the command:

$sudo cat /usr/local/include/opencv2/core.hpp | grep -i font

to try and get more info about what the fonts might be, but it just shows the Hershey font. I tried picking an arbitrary font, such as "FONT_SANS_BOLD" but got the message this is not declared in the scope.

What should I do to display different fonts?

Preview: (hide)

Comments

1

using your system fonts is only available with QT special functions

berak gravatar imageberak (Aug 30 '16)edit

1 answer

Sort by » oldest newest most voted
1

answered Aug 30 '16

Tetragramm gravatar image
Preview: (hide)

Question Tools

1 follower

Stats

Asked: Aug 30 '16

Seen: 9,901 times

Last updated: Aug 29 '16