I just want to share how I managed to let jivelite show (all?) special
characters as I experienced some issues with it.

I hope it might be helpful for others as well

I have a specific album of 'Sieg über die Sonne' which is called '1
∞'. While all my squeezeboxes and the server website show the
infinity character in the album title, jivelite would only show an empty
character rectangle.

First, I thought it might be due to wrong encoding of the flac file tags
but retagging did not help. I finally came across below post which gave
some clues...

After some more research I found that the FreeSansBold.ttf font that is
used in Jivelite to display the album titles does not include all
characters of the "Mathematical operations" unicode block, so also not
the infinity sign. 

Eventually on this site https://fonts2u.com i found the
DejaVu Sans family of TrueType fonts which include the infinity sign.

I ended up replacing the original fonts with DejaVuSans and
DejaVuSansCondensed-Bold at boot time as described in below cited post.
I changed the authors script accordingly:


Code:
--------------------
    
  #!/bin/sh
  cd /opt/jivelite/share/jive/fonts
  sudo rm FreeSans*.ttf
  sudo ln -sf /mnt/mmcblk0p2/tce/optional/DejaVuSans.ttf FreeSans.ttf
  sudo ln -sf /mnt/mmcblk0p2/tce/optional/DejaVuSansCondensed-Bold.ttf 
FreeSansBold.ttf
  
--------------------


Cheers!

firebelli wrote: 
> Hello ralphy, thank you for your suggestion.  Great, now Jivelite shows
> songs or artists in Japanese perfectly!  Here is my final change.
> 
> 1. Save your favorite font (mine is ipagp.ttf) at:
> /mnt/mmcblk0p2/tce/optional/
> 
> 2. Create a script and save it in the same directory as well (e.g.
> ReplaceFont.sh).
> > 
Code:
--------------------
  >   > 
  > #!/bin/sh
  > cd /opt/jivelite/share/jive/fonts
  > sudo rm FreeSans.ttf
  > sudo rm FreeSansBold.ttf
  > sudo ln -s /mnt/mmcblk0p2/tce/optional/ipagp.ttf FreeSans.ttf
  > sudo ln -s /mnt/mmcblk0p2/tce/optional/ipagp.ttf FreeSansBold.ttf
  > 
--------------------
> > 
> 3. Specify this script as user command in Tweaks menu of pCP.
> > 
Code:
--------------------
  >   > /mnt/mmcblk0p2/tce/optional/ReplaceFont.sh
--------------------
> > 
> 4. Reboot pCP.
> 
> 1984419845
> 
> Here is additional information for Unix novices, seeing a feedback on
> my post in another forum.
> 
> ipagp.ttf, a TrueType font which I am using is available at:
> http://ipafont.ipa.go.jp/old/ipafont/download.html#en
> 
> The shell script might need to be written in UNICODE (UTF-8), when the
> script fails please check the code page.  
> I am using WinSCP to create or edit the script, which surely supports
> UTF-8.
> 
> As Unix nature, the script should be executable.  You should be able
> to change the permissions of the shell script with WinSCP as well.



"Eh, what's up doc?" - Bugs Bunny
------------------------------------------------------------------------
deschman's Profile: http://forums.slimdevices.com/member.php?userid=50005
View this thread: http://forums.slimdevices.com/showthread.php?t=103330

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to