Search found 4 matches

by Sciti
Tue Jun 13, 2023 5:46 am
Forum: ZoneMinder 1.36.x
Topic: Invalid font file after updating from 1.34 to 1.36
Replies: 7
Views: 1738

Re: Invalid font file after updating from 1.34 to 1.36

Magic919 wrote: Fri Jun 09, 2023 9:18 am Of course it's a file. It's a question of what it contains.

Run the file command on it and see what it reports.

Code: Select all

file  /usr/share/zoneminder/fonts/default.zmfnt
Yeah, that was it! Didn't even thought about that, thanks
by Sciti
Fri Jun 09, 2023 9:02 am
Forum: ZoneMinder 1.36.x
Topic: Invalid font file after updating from 1.34 to 1.36
Replies: 7
Views: 1738

Re: Invalid font file after updating from 1.34 to 1.36

Magic919 wrote: Mon Jun 05, 2023 1:47 pm It's probably the method you used to acquire the file from GitHub. You likely grabbed a web page.
Nope, i see zmfnt file in folder
by Sciti
Mon Jun 05, 2023 12:35 pm
Forum: ZoneMinder 1.36.x
Topic: Invalid font file after updating from 1.34 to 1.36
Replies: 7
Views: 1738

Re: Invalid font file after updating from 1.34 to 1.36

Check FONT_FILE_LOCATION in config. Make sure the font file is there. Mine is /usr/share/zoneminder/fonts/ ,so slightly different. Thanks, found default.zmfnt at share/zoneminder/fonts/, changed FONT_FILE_LOCATION from zoneminder/www/fonts to just zoneminder/fonts, now it works. But something wrong...
by Sciti
Mon Jun 05, 2023 11:55 am
Forum: ZoneMinder 1.36.x
Topic: Invalid font file after updating from 1.34 to 1.36
Replies: 7
Views: 1738

Invalid font file after updating from 1.34 to 1.36

After updating to 1.36 log spams Invalid font location: /usr/share/zoneminder/www/fonts/default.zmfnt then i just wget default.zmfnt from github into this folder. Now log spams "Invalid font file". But fonts on web page looks ok, didn't see any occurrences of broken font on web pages. Trie...