Cosmos
Cosmos copied to clipboard
Draw String With Custom Charset And Custom Fonts.
It support Anti-Aliasing(not real) and it's fast. Don't worry about the performance!
Actually I want add the generator here but i don't know how to modify it...
By the way. i think this problem must be solved #1844
How do you use it?
How do you use it?
Does it support the DoubleBufferedVMwareSVGAII
driver / canvas?
Does it support the
DoubleBufferedVMwareSVGAII
driver / canvas?
it only support canvas. but if you want you can implement it!
it just uses DrawPoint
Thanks for the PR. It would be very cool to have better font support in Cosmos. Just a few questions:
- Is there any specification for the format of the BitFont? It would be very good if you could add some comment, so that other people know how to create a BitFont.
- When implementing the other font support for Cosmos, I created the abstract class https://github.com/CosmosOS/Cosmos/blob/master/source/Cosmos.System2/Graphics/Fonts/Font.cs would it be possible to make BitFont implement it? Do you think the interface should be changed?
- For the drawing methods, could they also be part of the Canvas class directly? That would keep the interface consistent. Even better would be if drawing strings using BitFont or PCScreenFont can be done using the same method.
i think im noticing an issue with it actualy, the font looks "wobily" and uneven, you can see it in this image, you need to properly align the fonts, but from figure 2 it looks ok
nianfa, could you please respond to quajak plez? this is cool and should be implemented.
nianfa, could you please respond to quajak plez? this is cool and should be implemented.
Yes. But in fact, there is no difference between bitfont in Mosa and Cosmos
i think im noticing an issue with it actualy, the font looks "wobily" and uneven, you can see it in this image, you need to properly align the fonts, but from figure 2 it looks ok
![]()
![]()
You can simply modify the generator
Cool, finaly reopened, but I think this needs to be refined a bit
How do I use it? It’s a bit confusing and will it support the command line?
Why did you delete the repo?
Luckily I already had this merged!