NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) v
« Previous 1 … 82 83 84 85 86 … 125 Next »
Shadows on OSD Text! :)

 
  • 0 Vote(s) - 0 Average
Shadows on OSD Text! :)
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#1
2006-01-24, 12:56 AM (This post was last modified: 2006-01-24, 02:54 AM by pBS.)
i'm surprised noone else thought of this, but i've been working on a backgroundless osd so i can see the video better behind, but when you use text of a certain color, it'll be invisible when over same color video so to remedy this most tv text overlay uses shadow or outline text...so..
i thought i'd try adding a duplicate text of darker color and slightly off-center underneath and viola! shadows on text... and it works great!
i can read a white font over white video easily Smile
[plus i think it looks cooler too]
also a variant...since the overhead is pretty low for just plain text, you can put 4 'shadows' at opposite corners and simulate an 'outlined' text effect Smile
here's an example of what i did..
Create a duplicate text style with shadow color..[not actually necessary,just easier]
Code:
<TextStyle name="OSDText" color="White" typeFace="Arial" size="13" style="bold"/>
<TextStyle name="OSDTextTitle" color="White" typeFace="Arial" size="17" style="bold"/>
<TextStyle name="OSDTextShadow" color="Black" typeFace="Arial" size="13" style="bold"/>
<TextStyle name="OSDTextTitleShadow" color="Black" typeFace="Arial" size="17" style="bold"/>

then duplicate and offset all your osd's in the file..[find a good offset and copy the locations around]

Code:
<DrawText text="@currentVideoTitle" loc="32,373" size="680,30" textStyle="OSDTextTitleShadow" align="Left" visible="true"/>
<DrawText text="@currentVideoTitle" loc="30,370" size="680,30" textStyle="OSDTextTitle" align="Left" visible="true"/>
<DrawText text="@description" loc="32,415" size="660,90" textStyle="OSDTextShadow" align="Left"/>
<DrawText text="@description" loc="30,412" size="660,90" textStyle="OSDText" align="Left"/>
don't forget to draw the shadow first!
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#2
2006-01-24, 02:00 AM (This post was last modified: 2006-01-24, 02:52 AM by pBS.)
oops,forgot to include the pic Smile
Oh, and you can turn transparency down to make them even more visible than this..
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#3
2006-01-24, 08:06 AM
Thats looks cool Cool
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
stefan
Offline

Posting Freak

Posts: 3,116
Threads: 81
Joined: Oct 2004
#4
2006-01-24, 08:41 AM
Nice one =)
I'm not always right
GB-PVR 1.2.9
Accent HT-400 Case, AMD Athlon 64 3800+ 1024MB, 1TB+300GB+180GB, WinXP Pro-SP2, NVidia 7600GT
Nova-T USB2, PVR-350 recording from Dilog 355 DVB-T box, USB-UIRT (receiving & transmitting)
Torque
Offline

Senior Member

Posts: 712
Threads: 68
Joined: Jan 2005
#5
2006-01-24, 05:20 PM
DrawTextWithOutline is also another way to do this. I'm hoping since Sub made the outline feature, he'll also implement some sort of 'DrawTextShadowed' style also.
MY PVR:
OS: Windows 7 Home Premium
Hardware: Silverstone LC13-E, Athlon II 250, Asrock 785GMH, 2GB Corsair RAM, 250GB WD HDD, 1TB WD Black, Hauppauge PVR-150 MCE tuner (s-video to Dish STB), HDHomeRun (ATSC x2), MCE2004 for Rx, USB-UIRT for Tx, Sony VL600 Remote, 36" Sony Wega HD CRT on DVI to embedded ATI HD4200.
TV Service: Dish Network and Antenna Pics 'n Details
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  why's community-ws text so much sharper than community text? tunanugget 1 1,206 2007-04-26, 10:17 PM
Last Post: Fatman_do
  Does any plugin allow searching by text in descriptions (not title) thawk 3 1,571 2007-02-26, 03:03 PM
Last Post: Jeff
  Weird text overrun, any ideas? cyberdude 1 1,294 2006-11-16, 12:50 PM
Last Post: Fatman_do
  Text Size in Search Guide cameluk 2 1,440 2006-10-29, 10:59 PM
Last Post: cameluk
  advisor - advance - skin - overlapping date text wannabepvr 2 1,418 2006-10-21, 11:40 PM
Last Post: wannabepvr
  Overlapping Text taz 6 2,166 2006-06-26, 02:02 AM
Last Post: taz
  remove scrolling text from Countour Blue theme xjaydpnoyx 2 1,527 2006-06-22, 02:09 PM
Last Post: xjaydpnoyx
  BlueMCE2 - text messed up raven 5 2,339 2006-03-27, 02:20 PM
Last Post: MixMan
  Showanalyzer text files... Work in ?? lonegeek 6 2,803 2006-02-01, 11:29 PM
Last Post: lonegeek
  Weather Plugin crushing text fusionrx 3 1,689 2005-11-28, 06:59 AM
Last Post: fusionrx

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode