Hello,
I just downloaded and installed it; great piece of software.
Only I cannot read the timestamps in the images created; I just can guess the time:
where can I adjust the font and the font-size of it ? Did not find anything neither on
Wikipage nor in the forum.
Any help much appreciated.
Thanks,
Marc
How to change font-size of timestamp in images
-
- Posts: 3
- Joined: Thu Jul 24, 2014 8:16 am
-
- Posts: 271
- Joined: Tue Feb 11, 2014 2:04 pm
Re: How to change font-size of timestamp in images
I don't think that's possible. I asked the same question in the Feature Requests forum. http://www.zoneminder.com/forums/viewto ... =8&t=22014grautvornix wrote:Hello,
I just downloaded and installed it; great piece of software.
Only I cannot read the timestamps in the images created; I just can guess the time:
where can I adjust the font and the font-size of it ? Did not find anything neither on
Wikipage nor in the forum.
Any help much appreciated.
Thanks,
Marc
-
- Posts: 3
- Joined: Thu Jul 24, 2014 8:16 am
Re: How to change font-size of timestamp in images
I investigated the code and I think the whole Annotation is done in zm_image.cpp in function Image::Annotate.
There is a define called "CHAR_HEIGHT" and CHAR_WIDTH, which are defined in zm_image.h as 11 resp. 6.
When I double the values (quick try), I get garbage as annotations, so it is not that easy and I think you are right:
the characters are hardcoded, i.e. no standard font is used which means there is definitely no configurationoption
for this font, which has to be improved
Maybe somebody else knows how to do it...
Thanks anyway,
Marc
There is a define called "CHAR_HEIGHT" and CHAR_WIDTH, which are defined in zm_image.h as 11 resp. 6.
When I double the values (quick try), I get garbage as annotations, so it is not that easy and I think you are right:
the characters are hardcoded, i.e. no standard font is used which means there is definitely no configurationoption
for this font, which has to be improved

Maybe somebody else knows how to do it...
Thanks anyway,
Marc