I wouldn't ever accuse the BBC of being non-standard-adhering. They're usually very compliant.
Now I think of it, I think I "solved" the issue in "rewrapping" mode (which I use), but the issue may still be there in "non-rewrapping" mode. One of the problems is that you can't randomly replace attribute characters by spaces, because often more then one are sent in sequence. That would mean a string of spaces between two words which look ugly. The rewrap mode would drop the multi-space sequence, but non-rewrap keeps the spaces. So I guess the solution is twofold:
- replace every attribute character by a space
- compact multi-space sequences to one
Still I think it's prone to error to try to keep the original formatting at all, rendering it to a proportional font and then centering it. I think teletext should be overlayed exactly as-is (which is quite ugly but works), or all the visible text should be extracted from the page, loose all of the layout information and render it just like any other text (which is what the re-wrap code does).
Edited by Erik Slagter, 25 December 2014 - 10:46.
* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.