diff options
Diffstat (limited to 'patchfont.c')
-rw-r--r-- | patchfont.c | 101 |
1 files changed, 48 insertions, 53 deletions
diff --git a/patchfont.c b/patchfont.c index 320e036..4f2ad2a 100644 --- a/patchfont.c +++ b/patchfont.c @@ -29,70 +29,65 @@ void PatchFont(eDvbFont DvbFont) font_data[i*num_rows+1] = char_data->height; // new marker - if(num_char==250&&mysetup.PatchNew) + if(num_char==128&&mysetup.PatchNew) { if(DvbFont==fontOsd) { - font_data[i*num_rows+ 0]=16; + font_data[i*num_rows+ 0]=22; font_data[i*num_rows+ 1]=27; - font_data[i*num_rows+ 2]=0; // ................ - font_data[i*num_rows+ 3]=0xc600; // ##...##......... - font_data[i*num_rows+ 4]=0xe600; // ###..##......... - font_data[i*num_rows+ 5]=0xf600; // ####.##......... - font_data[i*num_rows+ 6]=0xf600; // ####.##......... - font_data[i*num_rows+ 7]=0xde00; // ##.####......... - font_data[i*num_rows+ 8]=0xde00; // ##.####......... - font_data[i*num_rows+ 9]=0xce00; // ##..###......... - font_data[i*num_rows+10]=0xc600; // ##...##......... - font_data[i*num_rows+11]=0x0; // ................ - font_data[i*num_rows+12]=0x1fc0; // ...#######...... - font_data[i*num_rows+13]=0x1fc0; // ...#######...... - font_data[i*num_rows+14]=0x1800; // ...##........... - font_data[i*num_rows+15]=0x1f00; // ...#####........ - font_data[i*num_rows+16]=0x1f00; // ...#####........ - font_data[i*num_rows+17]=0x1800; // ...##........... - font_data[i*num_rows+18]=0x1fc0; // ...#######...... - font_data[i*num_rows+19]=0x1fc0; // ...#######...... - font_data[i*num_rows+20]=0x0; // ................ - font_data[i*num_rows+21]=0x318; // ......##...##... - font_data[i*num_rows+22]=0x318; // ......##...##... - font_data[i*num_rows+23]=0x318; // ......##...##... - font_data[i*num_rows+24]=0x318; // ......##...##... - font_data[i*num_rows+25]=0x318; // ......##...##... - font_data[i*num_rows+26]=0x318; // ......##...##... - font_data[i*num_rows+27]=0x3f8; // ......#######... - font_data[i*num_rows+28]=0x1f0; // .......#####.... + font_data[i*num_rows+ 5]=0x000000; // .. .... .... .... .... .... + font_data[i*num_rows+ 6]=0x000f00; // .. .... .... #### .... .... + font_data[i*num_rows+ 7]=0x007fe0; // .. .... .### #### ###. .... + font_data[i*num_rows+ 8]=0x00fff0; // .. .... #### #### #### .... + font_data[i*num_rows+ 9]=0x01f0f8; // .. ...# #### .... #### #... + font_data[i*num_rows+10]=0x01c03c; // .. ...# ##.. .... ..## ##.. + font_data[i*num_rows+11]=0x03c01c; // .. ..## ##.. .... ...# ##.. + font_data[i*num_rows+12]=0x03801c; // .. ..## #... .... ...# ##.. + font_data[i*num_rows+13]=0x03800e; // .. ..## #... .... .... ###. + font_data[i*num_rows+14]=0x03800e; // .. ..## #... .... .... ###. + font_data[i*num_rows+15]=0x1ff00e; // .#.#### #### .... .... ###. + font_data[i*num_rows+16]=0x0fe00e; // .. #### ###. .... .... ###. + font_data[i*num_rows+17]=0x07c00e; // .. .### ##.. .... .... ###. + font_data[i*num_rows+18]=0x03800e; // .. ..## #... .... .... ###. + font_data[i*num_rows+19]=0x01001c; // .. ...# .... .... ...# ##.. + font_data[i*num_rows+20]=0x00001c; // .. .... .... .... ...# ##.. + font_data[i*num_rows+21]=0x00003c; // .. .... .... .... ..## ##.. + font_data[i*num_rows+22]=0x0000f8; // .. .... .... .... #### #... + font_data[i*num_rows+23]=0x000ff0; // .. .... .... #### #### .... + font_data[i*num_rows+24]=0x001fe0; // .. .... ...# #### ###. .... + font_data[i*num_rows+25]=0x000f00; // .. .... .... #### .... .... + font_data[i*num_rows+26]=0x000000; // .. .... .... .... .... .... } else { - font_data[i*num_rows+ 0]=16; + font_data[i*num_rows+ 0]=22; font_data[i*num_rows+ 1]=22; - font_data[i*num_rows+ 2]=0x0; // ................ - font_data[i*num_rows+ 3]=0xc600; // ##...##......... - font_data[i*num_rows+ 4]=0xe600; // ###..##......... - font_data[i*num_rows+ 5]=0xf600; // ####.##......... - font_data[i*num_rows+ 6]=0xde00; // ##.####......... - font_data[i*num_rows+ 7]=0xce00; // ##..###......... - font_data[i*num_rows+ 8]=0xc600; // ##...##......... - font_data[i*num_rows+ 9]=0x0; // ................ - font_data[i*num_rows+10]=0x1fc0; // ...#######...... - font_data[i*num_rows+11]=0x1fc0; // ...#######...... - font_data[i*num_rows+12]=0x1800; // ...##........... - font_data[i*num_rows+13]=0x1f00; // ...#####........ - font_data[i*num_rows+14]=0x1800; // ...##........... - font_data[i*num_rows+15]=0x1fc0; // ...#######...... - font_data[i*num_rows+16]=0x1fc0; // ...#######...... - font_data[i*num_rows+17]=0x0; // ................ - font_data[i*num_rows+18]=0x318; // ......##...##... - font_data[i*num_rows+19]=0x318; // ......##...##... - font_data[i*num_rows+20]=0x318; // ......##...##... - font_data[i*num_rows+21]=0x318; // ......##...##... - font_data[i*num_rows+22]=0x3f8; // ......#######... - font_data[i*num_rows+23]=0x1f0; // .......#####.... + font_data[i*num_rows+ 2]=0x000000; // .. .... .... .... .... .... + font_data[i*num_rows+ 3]=0x000f00; // .. .... .... #### .... .... + font_data[i*num_rows+ 4]=0x007fe0; // .. .... .### #### ###. .... + font_data[i*num_rows+ 5]=0x00fff0; // .. .... #### #### #### .... + font_data[i*num_rows+ 6]=0x01f0f8; // .. ...# #### .... #### #... + font_data[i*num_rows+ 7]=0x01c03c; // .. ...# ##.. .... ..## ##.. + font_data[i*num_rows+ 8]=0x03c01c; // .. ..## ##.. .... ...# ##.. + font_data[i*num_rows+ 9]=0x03801c; // .. ..## #... .... ...# ##.. + font_data[i*num_rows+10]=0x03800e; // .. ..## #... .... .... ###. + font_data[i*num_rows+11]=0x03800e; // .. ..## #... .... .... ###. + font_data[i*num_rows+12]=0x1ff00e; // .#.#### #### .... .... ###. + font_data[i*num_rows+13]=0x0fe00e; // .. #### ###. .... .... ###. + font_data[i*num_rows+14]=0x07c00e; // .. .### ##.. .... .... ###. + font_data[i*num_rows+15]=0x03800e; // .. ..## #... .... .... ###. + font_data[i*num_rows+16]=0x01001c; // .. ...# .... .... ...# ##.. + font_data[i*num_rows+17]=0x00001c; // .. .... .... .... ...# ##.. + font_data[i*num_rows+18]=0x00003c; // .. .... .... .... ..## ##.. + font_data[i*num_rows+19]=0x0000f8; // .. .... .... .... #### #... + font_data[i*num_rows+20]=0x000ff0; // .. .... .... #### #### .... + font_data[i*num_rows+21]=0x001fe0; // .. .... ...# #### ###. .... + font_data[i*num_rows+22]=0x000f00; // .. .... .... #### .... .... + font_data[i*num_rows+23]=0x000000; // .. .... .... .... .... .... } } // dvd marker - else if(num_char==251&&mysetup.PatchDvd) + else if(num_char==129&&mysetup.PatchDvd) { if(DvbFont==fontOsd) { |