Here's the issue in the simplest terms I can explain it. This all started with subtitles. It is obviously easier to have a markup file with all the subtitle text in it instead of having to make individual graphics for each. Far as I know, this should be possible. Unfortunately, it's not going so well. After many attempts at subtitles, I decided to just add a very basic text output from the main markup file. It still did not work! I've checked the fonts, tried a few, and they are all Open Type. It's a very simple piece of code that just sets the position, font, and color. I left out all the timings and animations to be safe. Is there a bug in the Toshiba Players that won't do this or I am just overlooking something right in front of my face

Text to Display Rending
Steven777
I got it working. As per the spec, <input> is not supported in advanced subtitles and neither is inline styling. Though the sepc does not say it, it looks like the timing must be inline for it to work. In the end, it's a very simple file. I decided to post it below because I could not find a single reference on how to do so and others may be wondering how to. Here it is:
< xml version="1.0" encoding="UTF-8" >
<root xmlns="http://www.dvdforum.org/2005/ihd" xmlns:state="http://www.dvdforum.org/2005/ihd#state" xmlns:style="http://www.dvdforum.org/2005/ihd#style" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.dvdforum.org/2005/ihd
iHD.xsd" xml:lang="en-us">
<head>
<styling>
<style id="pos" style:position="absolute" style:x="0px" style:y="880px" style:height="100px" style:width="1920px"/>
<style id="font" style:font="font.ttf" style:color="#F6F6F6" style:fontSize="60px" style:height="100px" style:width="1920px" style:textAlign="center"/>
</styling>
</head>
<body>
<div style="pos">
<p begin="00:00:03:45" end="00:00:10:00" style="font">Subtitle 1</p>
<p begin="00:00:11:45" end="00:00:13:00" style="font">Subtitle 2</p>
<p begin="00:00:15:45" end="00:00:18:00" style="font">Subtitle 3</p>
</div>
</body>
</root>
Only small problem left is alising. It's hard to read the white text during a bright scene. Anyone know if you can add multiple colors to the text to create an alising effect
Anees Ahamed
Paxos
Can you run my Radio Group sample from my blog That is using text.
http://blogs.msdn.com/ptorr/archive/2006/07/02/654250.aspx
Jassim Rahma
prk
lushdog
Gravy
Noel Rietman
Have a <div> behind the main <div> that contains exactly the same content, but (i) is shifted down and to the right a couple of pixels, and (ii) has text colour of black. Then you get a fake drop-shadow.
Or use images and then you can do all sorts of Photoshop effects, etc.
Mike9000
did you get your posted example work with hdisim I didin't. The SONIC-Simulator works well with your code.
Thanks for any advice
ds.
XNA Rockstar
webrod
I've tried many attempts with Advanced Subtitles. They were set in the Playlist as an Advanced Subtitle Segment and still no go. The subtitle markup file should be an XAS file correct I've also tried it as an XMU file with no luck. The idea of displaying some basic text from the application markup is just to test the ability to render the text on-the-fly. The overall goal is to have it as an Advanced Subtitle.
Just out of curiousity, the player isn't looking for a licensed font and that could be the whole issue. This is currently just for developement. An actually live title would obviously have whatever licensing was needed.
Torsten_Katthoefer
Some common bugs:
Text cannot be positioned with x and y; you need to put it inside a <div> to position it
You probably need to give it a colour and a size
Fonts must be on the disc and referenced in the playlist, manifest, and markup file
Advanced Subtitles use inline timing (I think... don't have the spec handy) and so you would do eg:
<div begin="1s" dur="5s" style:x="0px" style:y="900px" style:height="100px" style:width="1920px">
<p style:font="file:///dvddisc/ADV_OBJ/myfont.ttf" style:fontSize="80px" style:color="white">Here is some subtitle text</p>
</div>
happymozart
ds,
I never tried it with HDiSim. I am taking a guess that it might have to do with the URI of the font. Where I have
try
or something similar depending on your font name and folder structure.