CosmosOS / Cosmos

Cosmos is an operating system "construction kit". Build your own OS using managed languages such as C#, VB.NET, and more!
https://www.goCosmos.org
BSD 3-Clause "New" or "Revised" License
2.94k stars 552 forks source link

How to Set the VgA font without bytes using ttf #2740

Closed PedroLucas201441 closed 1 year ago

PedroLucas201441 commented 1 year ago

I set the font vga ttf without bytes and ascii plase help me to set font

PedroLucas201441 commented 1 year ago

using PCScreenFont to console and Canvas

GoldenretriverYT commented 1 year ago

not happening

1st) TTF Fonts are not VGA fonts. 2nd) PCScreenFonts are not TTF fonts. 3rd) Without bytes? Where would the font come from? It cant magically appear. 4th) Tf does "without ascii" even mean 5th) PCScreenFonts are also not the same as VGA fonts.

PedroLucas201441 commented 1 year ago

It's because I want to simplify just ttf because bytes and arrays and ascii is too advanced

PedroLucas201441 commented 1 year ago

Or not use vga fonts

PedroLucas201441 commented 1 year ago

I want to change the vga font to a ttf one

PedroLucas201441 commented 1 year ago

im see PCScreenFonts its not same font but cutsmize

husaral2 commented 1 year ago

I'm only 9 years old

You should look for programs easier to code then, writing an operating system is too complicated and it will be very hard even with a helper framework

PedroLucas201441 commented 1 year ago

not im writing in C# im see its complicated im chosing comos for facility😊

9xbt commented 1 year ago

It's because I want to simplify just ttf because bytes and arrays and ascii is too advanced for my age I'm only 9 years old

It's not that hard

https://learn.microsoft.com/en-us/dotnet/api/system.byte?view=net-6.0 https://learn.microsoft.com/en-us/dotnet/csharp/programming-guide/arrays/ https://en.wikipedia.org/wiki/ASCII

9xbt commented 1 year ago

TTF is way more complex than bytes, arrays and ASCII

GoldenretriverYT commented 1 year ago

Pedro, we aren't trying to offend you but it really is not a good idea to try to make an OS at 9 years old. Considering you find "bytes" too complicated, you lack fundamental knowledge. Take on some easier task. Make a text editor for windows first or something

PedroLucas201441 commented 1 year ago

Pedro, we aren't trying to offend you but it really is not a good idea to try to make an OS at 9 years old. Considering you find "bytes" too complicated, you lack fundamental knowledge. Take on some easier task. Make a text editor for windows first or something

I know it's compiled so I'm going to do it without bytes I'm going to try to make my operating system with the maximum that it only has in the next update add this function my Name is Pedro because im Brazilian

PedroLucas201441 commented 1 year ago

I trying learn Assembly Now OK to Facility to make an GBA Emulator to Add My System

PedroLucas201441 commented 1 year ago

i learned a bit of bytes in an ultra low level programming language called befunge I did hello world by myself it was like this:

v ,,,,, "Hello"v ,,,,,"World"

Explication: When the program starts a byte will move down and then continue and then I will write the commas of how many bits the message will have in the case 5 bits = 5 letters so it will be 5 and the message is Hello then a byte goes down and turns to the right and go ahead and there are some more commas there that have 5 bits and I printed it like this in the Console: First line below 1 byte: Hello Second line below 2 byte:World

AsertCreator commented 1 year ago

lucas, you have to consider github's terms of service. you said that you're 9, brazil's legislature defines child as a person under the age of 12, and github prohibits its usage by children.

i'm not offending you, but that's violation of github's terms of service, and your account might be suspended or terminated.

you're only 9, and you're making an os? that's incredible, but i think that will be very hard for you, as you can't differenciate bit from byte yet. as goldenretriver said, you should make something more simpler, like text editor, or calculator, or a simple mobile game. first get experience, then go on more complex projects.

also, you can't set vga font using ttf or without bytes. that's impossible.

PedroLucas201441 commented 1 year ago

Ok

PedroLucas201441 commented 1 year ago

But do you know any github alternatives for my age with user interaction without code blocks

PedroLucas201441 commented 1 year ago

after 3 years i will back for response now i will use github for view open source download and view issues for 3 years

PedroLucas201441 commented 1 year ago

Attention GitHub Moderators: Please Do Not Ban Mine Why It will only be inactive for 3 years for me to complete 12 years the issue will not be closed until I want to

selkij commented 1 year ago

Attention GitHub Moderators: Please Do Not Ban Mine Why It will only be inactive for 3 years for me to complete 12 years the issue will not be closed until I want to

I propose instead that you reopen the issue when you are 12 years old, we already have a lot of open issues so it would help cleaning up

selkij commented 1 year ago

Also don't give your age, name, nationality like that, you should do it only to people you trust, see internet safety rules online