Ask Your Question
0

is there a list of fonts some place?

asked 2016-08-29 22:45:55 -0600

j0h gravatar image

updated 2016-08-29 23:07:53 -0600

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?

edit retag flag offensive close merge delete

Comments

1

using your system fonts is only available with QT special functions

berak gravatar imageberak ( 2016-08-30 01:01:48 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2016-08-29 23:06:35 -0600

Tetragramm gravatar image
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-08-29 22:45:55 -0600

Seen: 9,529 times

Last updated: Aug 29 '16