Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Custom font in 'Dimmed' mode not rendering

OP Bicklp

20th July 2014, 10:20 AM   |  #1  
OP Junior Member
Thanks Meter: 2
 
26 posts
Join Date:Joined: Aug 2010
Hey

I've created a simple watch face with and am using a custom font.
On the main screen 'not dimmed' the font works fine.
When the screen dims, the font works for about a minute or so e.g.
If its 09.04 and changes to 09.05 soon after dimming its working fine, but after a minite or so, any digits that change no longer render.
E.g. if it changes from 09.05 to 09.06 then the changed digit doesn't render. In this case the 6. So the display just reads 09.0
It does redraw the screen as the clock is centred so moves the 3 digits into the centre, ot just doesn't display the last digit.

I've tried with a 2 different TTF and OTF fonts. Same on both.

If I don't set a font and use the standard it works fine all the time.

In using <textclock> to render the clock and setting the font in the oncreate using
Typeface type = Typeface.createFromAsset(getAssets(),"fonts/filename.ttf");
textclock.setTypeface(type);

Is anyone using a custom font on a watch face and getting this

Or anyone have any ideas

Thanks

Phil
7th September 2014, 01:57 AM   |  #2  
Junior Member
Thanks Meter: 0
 
1 posts
Join Date:Joined: Feb 2011
Thumbs up
Hi Phil I just downloaded your "simple" watchface from mypebblefaces and it's awesome! Thanks. Is there anyway now to make the font for the Date/Month a little bigger? Shortsighted here
Post Reply Subscribe to Thread

Tags
font, rendering, textclock, wear
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes