Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RIVA iPad string rendering bug?
#1
I have a lot of fields which are very tight (i.e. 100x30 where the text itself renders to 99x29 or perhaps 101x31). In the standard IV, these fields look fine. If a pixel or two is cut off the text, you certainly don't notice.

However, in the iPad RIVA client, if there isn't room for the ENTIRE last character of the string, the character is eliminated.

In one case I have the word AUTO and on the standard IV it looks great (maybe a pixel is missing on the right edge of the O, but you really can't tell). When I display the same template on the iPad viewer, the word AUT appears with a nearly character sized empty space to the right of it.

I'm fairly certain I could fix this problem by going through all of my templates and enlarging the fields a little, but that would be very painful, and I'm hoping you have an easy fix on your end.

Thanks -- Bob

P.S. Is it possible to load fonts onto the iPad? I have a couple of templates which use cute fonts and it would be nice to get them working perfectly on the iPad.
Reply
#2
You will most probably have to just provide some extra space. The fonts won't be renderered absolutely exactly the same across two different platforms in most cases. They may be slightly larger or smaller or have slightly different inter-character spacing. You may perhaps be able to install the exactly same TT font on the iOS pad perhaps, if it will accept them. But, even then, the font renderering engines are not the same and it still might come out slightly differently.
Dean Roddey
Explorans limites defectum
Reply
#3
I don't mind if they aren't rendered exactly the same, but the fact that the last character is eliminated completely rather than having a few pixels trimmed seems pretty significant.

Is this a RIVA engine problem or an iPad renderer problem?

I'm out of town but when I return I could make a template which shows this bug quite egregiously...

-- Bob
Reply
#4
As Dean said, it's on the rendering side. For example, on Android there is (was?) only a single font: Droid. So batwater made a test template with various size and such, so I could tweak stuff to get as close as possible to the actual IV.

Clipping letters that don't fit in a view is pretty standard, the last letter either fits or not, it's not considered a bunch of points...
Field Generator 0.65: Create CQC fields on the fly, from external applications.
Mobile templates 0.4: Main resolution of 320x480 with navigation side bars (384x544).
Sage Media Server 1.1.3 + Sage Player 2.7.8: Display and manipulate SageTV information or player.
TaRIVA 1.26: Android RIVA client.
Reply
#5
I think that clipping whole letters is pretty nonstandard. Everything else is clipped on a pixel basis these days. It's certainly a big difference from the way the IV operates. It doesn't matter for fields with lots of characters, or small fonts. My screens have lots of small fields with large fonts and this clipping issue makes them unusable.

I could tweak all my fields but I worry that a small change to the underlying font would ruin it again. It would be much safer if you could do pixel based font clipping.

Please consider it, thanks -- Bob
Reply
#6
Okay, here is the template I promised to create.

It has two static text fields with the word YUMM in 96pt font. I used the Size To Contents function which set the size to 299x112. The top field is Left justified, and the bottom field is Right justified.

As you can see, in the left justified field, the word appears as YUM because the entire last letter is clipped. However, in the right justified field, only a pixel or two have been clipped, and the word appears correctly as YUMM.

Of course, the fields render perfectly and identically on the windows IV.

It would be really great if you could fix this bug!!!

Thanks -- Bob

P.S. This screenshot was taken on my iPad3, so the resolution is 2048x1536


Attached Files
.zip   ClippingBug.zip (Size: 38.27 KB / Downloads: 6)
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Basic RIVA Questions TurboSam 15 12,982 01-08-2015, 08:29 PM
Last Post: Dean Roddey
  CQC Riva App Iphone 6 zra 14 11,636 11-28-2014, 07:29 PM
Last Post: Dean Roddey
  iPad Blank and Blanker setup issues Deane Johnson 1 4,210 11-24-2014, 09:18 AM
Last Post: Dean Roddey
  How to get Ipad to refresh? Deane Johnson 1 4,115 11-08-2014, 10:01 AM
Last Post: Dean Roddey
  What size template for iPad? Deane Johnson 2 4,273 11-07-2014, 08:46 PM
Last Post: Deane Johnson
  New CQC user, trouble getting iPad to connect Deane Johnson 3 4,748 11-07-2014, 03:39 PM
Last Post: Deane Johnson
  Riva Client login credentials fail finish.06 2 5,566 08-21-2014, 06:39 AM
Last Post: finish.06
  CQC Remote now available for iPad brianmount 8 7,285 06-17-2014, 12:49 PM
Last Post: Dean Roddey
  CQC Riva App Speed finish.06 2 3,781 06-09-2014, 05:01 AM
Last Post: finish.06
  new iPad, new problems - connection refused finish.06 2 3,458 06-09-2014, 05:00 AM
Last Post: finish.06

Forum Jump:


Users browsing this thread: 1 Guest(s)