Able to eval js with my scope!
This commit is contained in:
16
font.ts
16
font.ts
@ -1,3 +1,19 @@
|
||||
/**
|
||||
* Perhaps fonts can be their own type of sheet. By the calculation below, we can fit ~4 fonts per fontsheet
|
||||
*
|
||||
* 3 bits for height
|
||||
* 5 more metadata bits
|
||||
* = 1 byte
|
||||
*
|
||||
* Per character:
|
||||
* - 3 bits for width
|
||||
* - 5 bits for metadata
|
||||
* - 64 bits for pixels
|
||||
* = 9 bytes per character
|
||||
*
|
||||
* 96 chars * 9 bytes =
|
||||
*/
|
||||
|
||||
// deno-fmt-ignore
|
||||
export const font: {[key: string]: Array<number>} = {
|
||||
"a": [
|
||||
|
Reference in New Issue
Block a user