- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 9
 
Setup menu color customization #263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dasharo
Are you sure you want to change the base?
Conversation
| 
           I just wondered recently when someone will dare to touch CustomizedDisplayLib and play with it :) We would have to somehow match the Dasharo green colour (on dasharo.com page the hex color for green is  If I color pick the green from the picture you posted, it gives me   | 
    
          
 CustomizedDisplayLib only supports a small color palette which looks similar to VGA color palette. There are a total of 8 possible background colors and 16 text colors, so sadly there is little possibilities to play with. There are only two green shades possible for text - green and light green, for backgrounds its only the green you see. I can't tell if it would be feasible to extend the color palette. It might be more challenging than just exposing the colors as PSDs.  | 
    
| 
           I think it will be inevitable to change  Also we have to take care of serial terminal colors in  Also you may try to change the font to something more close to what we use on dasharo.com (I believe it is oswald font regular-400 or a Font Awesome 6 regular-400)  | 
    
| 
           Colors taken from dasharo.com that I suggest that may be suitable: DARKGRAY -   | 
    
          
 Of course it doesn't :) Check out this: https://gist.github.com/viniciusdaniel/53a98cbb1d8cac1bb473da23f5708836  | 
    
| 
           Couple more suggestions to the color selection: 
  | 
    
          
 That might be more troublesome than expected 😆 Adding a support for vector fonts might be a little too much for now, but maybe it could be feasible to create a tool that could convert vector fonts into bitmaps like the one defined in   | 
    
| 
           I've been fiddling around with converting the Oswald font to bitmaps. The results seemed promising, but in the end I think it will not be possible to properly display a proper vector font in 19x8 resolution. That's the best results I was able to achieve. While it's possible to do some postprocessing to fix jagged edges, losing detail is inevitable. Creating such a small font requires working with pixel art.  
The scripts for the conversion are on a separate branch as I will scrap that idea for now.  | 
    
| 
           Yeah the font does not look great and would require more work. The colors look interesting, though.  | 
    
aa35540    to
    cb616c6      
    Compare
  
    Signed-off-by: Filip Go¿a¿ <[email protected]>
Signed-off-by: Filip Gołaś <[email protected]>
Signed-off-by: Filip Gołaś <[email protected]>
Signed-off-by: Filip Gołaś <[email protected]>
Signed-off-by: Filip Gołaś <[email protected]>
Signed-off-by: Filip Gołaś <[email protected]>
Signed-off-by: Filip Gołaś <[email protected]>
cb616c6    to
    145ff2b      
    Compare
  
    Signed-off-by: Filip Gołaś <[email protected]>
cfd0e7a    to
    4483433      
    Compare
  
    Signed-off-by: Filip Gołaś <[email protected]>
4483433    to
    2473d00      
    Compare
  
    
          
 Should be easy with  
 Yeah, the letters in the top section are far from being white... But hey, it looks neat already.  | 
    
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@philipanda another mistakenly added change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for pointing it out. I've commited some random files before too. I think that I'm commiting some artifacts from the build process that I am unaware of. I certainly did not search&replaced something in a binary file 😆. I'll check twice before adding a whole directory next time.








Description
How This Was Tested
qemu-system-x86_64 -machine q35,smm=on -drive if=pflash,format=raw,unit=0,file=qemu_q35_v0.2.1-rc1.rom
Integration Instructions