Support and General Use > Recording

Recording Enhancements Pack

<< < (49/189) > >>

Mmmm:
OK Paul, here's a patch that will only allow changeable recording fonts to current cvs version.

This may not apply cleanly to vinylivo's version though, or it may and could still not work! If this is the case try the following:


--- Code: ---You must make sure that in recording.c any w's and h's need to be changed to w[i] and h[i]
if they are within a FOR_NB_SCREENS(i) loop. If any of these are outside a loop do the same but change the i to a 0.
and change anything like setfont(SYSFIXED) to setfont(font[i]) if it's in one of the loops.
If a setfont is outside a loop leave it alone!
--- End code ---

Hopefully that should make sure all runs smoothly.....  :D
Good luck... ;)

[attachment deleted by admin, too old]

paulheu:
Indeed, the fontspatch does not work with the latest agc_histogram patch, the battery/diskspace/balance graphics disapear and do not return..

Oh well.. big(ger) fonts are nice but I can do without em (for now)..

Mmmm:
Does the batt indicator go even when you are using the default font? It is supposed to disappear when a large font is used, as otherwise you just get a nasty mess (it overlaps).

On vinylivo's original the max font size was 12 which is pretty small and useless so I changed it slightly so that it overwrote the batt/disk/balance info. This way you can have larger fonts like chicago12 without any problems (just a small compromise).

Or is it that they never turn up at all?

paulheu:
It never turns up, if I remove the screenclear around line 1550 it stays, but seems to not be updated with the fontpatch. I use a small enough font with plenty of space left..

Mmmm:
Paul: Find this bit in recording.c

--- Code: ---            /************** AGC Test Info only *************
            lcd_setfont(FONT_SYSFIXED);
            snprintf(buf, 32, "D:%d U:%d",
                     (agc_droptime+2)/5, (agc_risetime+2)/5);
            lcd_putsxy(1, LCD_HEIGHT - 8, buf);
            snprintf(buf, 32, "B:%d",
                     (agc_baltime+2)/5);
            lcd_putsxy(LCD_WIDTH/2 + 3, LCD_HEIGHT - 8, buf);
            ***********************************************/

            if (hist_bal_y > (8 + 8 * h[SCREEN_MAIN]))
            {
                lcd_setfont(FONT_SYSFIXED);
                if (charger_inserted())
                    lcd_mono_bitmap(bitmap_icons_7x8[Icon_Plug],
                                    2 + 19*(battery_level() > 48),
--- End code ---

I reckon it must have something to do with this bit of code...
Especially that           
--- Code: ---  if (hist_bal_y > (8 + 8 * h[SCREEN_MAIN]))
--- End code ---
bit.
This is the condition for the drawing of the bat/disk/bal info.

hist_bal_y is the start point for drawing the graphs
the first 8 is the size of the status bar and the second is the number of lines of text that are displayed on the screen h[0] or h[SCREEN_MAIN] (same thing) is the height of the font on the main screen.

So the batt/disk/bal info is only displayed if the text doesn't run into it...

Is yours the same as mine?
If it is have a go at changing that second 8 to a 7

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version