SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v9 Customizations > Gemstone for v9
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

Gemstone for v9 This forum is for discussing the user-created Gemstone custom interface for SageTV.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-05-2017, 09:16 AM
jbuszkie's Avatar
jbuszkie jbuszkie is offline
Sage Fanatic
 
Join Date: Aug 2003
Location: Westminster, MA
Posts: 938
How to change fonts?

I'm getting my V9 sage server ready and I want to change fonts.

I"m getting "OptionValueText"
When I try to modify the font.
Gemstone Fonts
Sage Fonts
and System Fonts all say the same thing.

Am I missing some plugin?

Attached Images
File Type: png No_fonts.PNG (69.8 KB, 161 views)

Last edited by jbuszkie; 07-05-2017 at 09:22 AM.
Reply With Quote
  #2  
Old 07-10-2017, 09:50 AM
jbuszkie's Avatar
jbuszkie jbuszkie is offline
Sage Fanatic
 
Join Date: Aug 2003
Location: Westminster, MA
Posts: 938
I'm also getting this on my extenders as well. I'd really like to be able to switch fonts...
Reply With Quote
  #3  
Old 07-10-2017, 02:28 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,727
This is the screen I get...



Something is wrong with your setup as it is not finding the font list nor the option lists at the top....very odd.

I have tried this on Linux and Windows without issue. I have not tested on unraid yet and won't for another month but I cannot see that being a factor.

I checked the code and the fact that you see OptionValueText at the top means it is not reading values from the .properties file for the client...but if that's the case you should have bigger issues.

Perhaps I need to see a sage and gemstone log file to narrow this down.

k
Attached Images
File Type: png FontsCapture.PNG (178.5 KB, 234 views)
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #4  
Old 07-10-2017, 03:21 PM
jbuszkie's Avatar
jbuszkie jbuszkie is offline
Sage Fanatic
 
Join Date: Aug 2003
Location: Westminster, MA
Posts: 938
Quote:
Originally Posted by jusjoken View Post
This is the screen I get...



Something is wrong with your setup as it is not finding the font list nor the option lists at the top....very odd.

I have tried this on Linux and Windows without issue. I have not tested on unraid yet and won't for another month but I cannot see that being a factor.

I checked the code and the fact that you see OptionValueText at the top means it is not reading values from the .properties file for the client...but if that's the case you should have bigger issues.

Perhaps I need to see a sage and gemstone log file to narrow this down.

k
It is running in a unraid docker. Most everything else seems to work fine.
I'll try to post my log files. On the placeshifter properties file I hacked it to set the font to sans and it seems to work... mostly..

I wonder if it's some permission thing..
Reply With Quote
  #5  
Old 07-10-2017, 03:46 PM
jbuszkie's Avatar
jbuszkie jbuszkie is offline
Sage Fanatic
 
Join Date: Aug 2003
Location: Westminster, MA
Posts: 938
Quote:
Originally Posted by jusjoken View Post
This is the screen I get...

Perhaps I need to see a sage and gemstone log file to narrow this down.

k
I just you a PM with links to the log files. I see nothing that jumps out..
there a lot of exceptions generated though..

If you get a chance to take a look, that would be great!

Thanks a bunch.

Jim
Reply With Quote
  #6  
Old 07-10-2017, 04:32 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,727
Quote:
Originally Posted by jbuszkie View Post
I just you a PM with links to the log files. I see nothing that jumps out..
there a lot of exceptions generated though..

If you get a chance to take a look, that would be great!

Thanks a bunch.

Jim
I have not seen a PM yet ???
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #7  
Old 07-11-2017, 07:00 AM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,727
I certainly see the error but not certain WHY you are getting this error as I cannot recreate it.

Have you manually changed any of the client or server .properties files in the Gemstone areas or the theme.properties related to fonts?

The first call to the fonts functions is failing which is then causing all the other functions to fail. The first call tries to get the current font from the global values loaded when the theme loads and that value looks correct on the theme load BUT it then is failing when trying to create the font list.

One other thought.... what is the name of the fonts folder in the sagetv folder? Is it "fonts" or "Fonts"?

k
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #8  
Old 07-11-2017, 07:34 AM
jbuszkie's Avatar
jbuszkie jbuszkie is offline
Sage Fanatic
 
Join Date: Aug 2003
Location: Westminster, MA
Posts: 938
lower case fonts.

And no. I didn't change any of the property files.
I did try to hack a change in the client properties file to force the font I want.. But that was after the original behavior!

Maybe I'll try a separate docker with a fresh copy and see if it happens again.

The fonts directory and everything in it is owned by nobody with the group users and has user and group RW...

Does fonts need to be Fonts?

Jim
Reply With Quote
  #9  
Old 07-11-2017, 08:17 AM
jbuszkie's Avatar
jbuszkie jbuszkie is offline
Sage Fanatic
 
Join Date: Aug 2003
Location: Westminster, MA
Posts: 938
Ok.. I just tried a fresh docker with only the the weather plugin installed (kinda was automatic) and then I loaded the gemstone UI mod plugin and then I selected Load Gemstone from the menus.

I got the same result then I tried to change the fonts.

So something with the docker???

Jim
Reply With Quote
  #10  
Old 07-11-2017, 08:34 AM
jbuszkie's Avatar
jbuszkie jbuszkie is offline
Sage Fanatic
 
Join Date: Aug 2003
Location: Westminster, MA
Posts: 938
Ok.. For grins... I renamed fonts to Fonts on the test docker...

And now It works!

So Either your plugin is picky.. Or Sean changed it to "f"...

hmm.. I'll try that on my real docker. My guess is it will work too.

Jim
Reply With Quote
  #11  
Old 07-11-2017, 08:54 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Is the theory then that this is an issue with unRAID? I will try to see what I get when I get a chance.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #12  
Old 07-11-2017, 09:01 AM
jbuszkie's Avatar
jbuszkie jbuszkie is offline
Sage Fanatic
 
Join Date: Aug 2003
Location: Westminster, MA
Posts: 938
Quote:
Originally Posted by wayner View Post
Is the theory then that this is an issue with unRAID? I will try to see what I get when I get a chance.
Possibly more so in how Sean created the docker image (I think it was Sean?)
I don't know what the name is supposed to be in a stock V9 linux install..

jusjoken and stuckless will be the experts here!

It will be interesting to see, wayner, what your results are. Do you use Gemstone?

Jim
Reply With Quote
  #13  
Old 07-11-2017, 10:01 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
the folder should be called fonts. That is how it is referred in the sagetv code. I think this is a Gemstone issue, where it was directly accessed by gemstone as Fonts, so on the case-sensitive filesystem, it is failing.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #14  
Old 07-11-2017, 10:42 AM
Tiki's Avatar
Tiki Tiki is offline
Sage Icon
 
Join Date: Feb 2005
Location: Southwest Florida, USA
Posts: 2,009
Linux (and UnRaid, since it is built on Linux) uses a case-sensitive file system. You can have more than one file or folder whose names are exactly the same except for the cases of one or more letters. So Fonts is not the same as fonts or FONTS or fonTs...

Windows is not case sensitive. Although it can display the capitalization correctly, it basically ignores it.

So if the Gemstone code is hard-coded to look for a folder called Fonts, but the folder is really called fonts, it will still work on Windows, but it won't be found on Linux.
__________________
Server: Ryzen 2400G with integrated graphics, ASRock X470 Taichi Motherboard, HDMI output to Vizio 1080p LCD, Win10-64Bit (Professional), 16GB RAM
Capture Devices (7 tuners): Colossus (x1), HDHR Prime (x2)
,USBUIRT (multi-zone)
Source:
Comcast/Xfinity X1 Cable
Primary Client: Server Other Clients: (1) HD200, (1) HD300
Retired Equipment: MediaMVP, PVR150 (x2), PVR150MCE,
HDHR, HVR-2250, HD-PVR
Reply With Quote
  #15  
Old 07-11-2017, 10:53 AM
jbuszkie's Avatar
jbuszkie jbuszkie is offline
Sage Fanatic
 
Join Date: Aug 2003
Location: Westminster, MA
Posts: 938
Quote:
Originally Posted by Tiki View Post
Linux (and UnRaid, since it is built on Linux) uses a case-sensitive file system. You can have more than one file or folder whose names are exactly the same except for the cases of one or more letters. So Fonts is not the same as fonts or FONTS or fonTs...

Windows is not case sensitive. Although it can display the capitalization correctly, it basically ignores it.

So if the Gemstone code is hard-coded to look for a folder called Fonts, but the folder is really called fonts, it will still work on Windows, but it won't be found on Linux.
jusjoken said it works fine for him on his linux..
Reply With Quote
  #16  
Old 07-11-2017, 11:51 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Quote:
Originally Posted by jbuszkie View Post
Possibly more so in how Sean created the docker image (I think it was Sean?)
I don't know what the name is supposed to be in a stock V9 linux install..

jusjoken and stuckless will be the experts here!

It will be interesting to see, wayner, what your results are. Do you use Gemstone?
Yes, I use Gemstone. I haven't noticed any issues but I haven't ever tried to change the fonts (or Fonts) - I have been running SageTV on unRAID for close to six months.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #17  
Old 07-11-2017, 12:01 PM
jbuszkie's Avatar
jbuszkie jbuszkie is offline
Sage Fanatic
 
Join Date: Aug 2003
Location: Westminster, MA
Posts: 938
Quote:
Originally Posted by wayner View Post
Yes, I use Gemstone. I haven't noticed any issues but I haven't ever tried to change the fonts (or Fonts) - I have been running SageTV on unRAID for close to six months.
I don't like the default fonts so I change them to the default sage fonts. The default is too blocky for me! :-)
My family didn't like it either. I guess we are just creatures of habit! :-)
Reply With Quote
  #18  
Old 07-11-2017, 12:01 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
I just tried through the somewhat painful process of remotely using RDP on an iPad and I can confirm that when using my unRAID server for the fonts I see the same as jbuszkie - "OptionValueT" for all three font settings (my PlaceShifter window isn't wide enough to display the full item but I don't think that matters too much). So if it does work on other variants of Linux there is something funny going on in the Docker version. It would be interesting if someone tried the Docker version on a variant of Linux where the non-Docker version has fonts working correctly.

edit - I copied my fonts folder to a new folder called Fonts and things look better now. So that is the quick and dirty solution - or renaming the fonts folder to Fonts.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server

Last edited by wayner; 07-11-2017 at 12:09 PM.
Reply With Quote
  #19  
Old 07-11-2017, 12:08 PM
jbuszkie's Avatar
jbuszkie jbuszkie is offline
Sage Fanatic
 
Join Date: Aug 2003
Location: Westminster, MA
Posts: 938
Quote:
Originally Posted by wayner View Post
I just tried through the somewhat painful process of remotely using RDP on an iPad and I can confirm that when using my unRAID server for the fonts I see the same as jbuszkie - "OptionValueT" for all three font settings (my PlaceShifter window isn't wide enough to display the full item but I don't think that matters too much). So if it does work on other variants of Linux there is something funny going on in the Docker version. It would be interesting if someone tried the Docker version on a variant of Linux where the non-Docker version has fonts working correctly.
Thanks for the confirmation! It's always good to know that I'm not too much of an idiot and did something stupid!
Reply With Quote
  #20  
Old 07-11-2017, 12:14 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
I'm pretty sure this would NOT be working on any linux distribution, as checking the old gemstone code (as well as gemstone2), it does explicitly use Fonts for the sagetv font location, and sagetv on windows OR linux has always called the folder fonts. For added confusion, though, the gemstone specific fonts ARE stored in STVs/SageTV7/Themes/Gemstone/Fonts.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
messed up fonts? dpackham SageMC Custom Interface 1 05-07-2009 02:13 PM
Possible to change Closed Caption fonts or background? TechBill SageTV Software 0 12-02-2007 12:32 AM
How-to: Larger Fonts stevech SageTV Software 6 07-13-2007 10:30 PM
Fonts for 3.0.5 snoopy SageTV Customizations 0 07-28-2005 02:01 AM
Fonts garbled for V2 coppit SageTV Beta Test Software 6 03-11-2004 10:12 AM


All times are GMT -6. The time now is 01:57 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.