warpme / minimyth2

Distro to make disk-less MythTV appliance
https://github.com/warpme/minimyth2/wiki
75 stars 21 forks source link

MM_FONT_FILE_TTF_ADD doesn't work #35

Closed kjeacle closed 2 years ago

kjeacle commented 2 years ago

In v12.6.2-v32 MythCenter-wide has gone, so I have set MM_THEME_NAME and MM_THEME_URL to download it on boot.

But there are fonts missing. I tried MM_FONT_FILE_TTF_ADD='DroidSans.ttf' but nothing happened. Documentation says that this will download font from server. Looking at init.d/font, it doesn't appear to do any downloading but maybe that happens elsewhere.

Also, init.d/font has a line that makes a link:

/bin/ln -sf /usr/share/fonts/X11/TTF/${font} /usr/share/mythtv/${font}

But surely this should be:

/bin/ln -sf /usr/share/fonts/X11/TTF/${font} /usr/share/mythtv/fonts/${font}

warpme commented 2 years ago

Oh this is bug. Should be flxed in v12.6.3...

btw: iirc internal logic has caps of auto-setting theme url if MM_THEME_NAME is set and MM_THEME_URL is not set. I such case MM_THEME_URL will be set to MM_THEME_NAME.sfs

kjeacle commented 2 years ago

Working again, thanks. I added the following to get MythCenter-wide looking the same as before: MM_FONT_FILE_TTF_ADD='DroidSans.ttf DroidSansMono.ttf DroidSans-Bold.ttf'