Andreas Kling
cacba45f1c
LizaBold8x10: Import a bold variant of Liza8x10 and make it the default bold.
...
Start using it right away for window titles.
2019-02-04 11:37:15 +01:00
Andreas Kling
9da9cce4f7
SharedGraphics: Font::load_from_file() forgot to close() the font file.
2019-02-03 08:18:16 +01:00
Andreas Kling
5751063c63
Load the default font from disk in the kernel as well.
2019-02-03 01:44:08 +01:00
Andreas Kling
abe3f515b1
Make font loading use mmap().
...
This exposed a serious race condition in page_in_from_inode().
Reordered the logic and added a paging lock to VMObject.
Now, only one process can page in from a VMObject at a time.
There are definitely ways to optimize this, for instance by making
the locking be per-page instead. It's not something that I'm going
to worry about right now though.
2019-02-03 01:36:25 +01:00
Andreas Kling
7f91aec25c
Support font files.
...
This only works with the userspace build of SharedGraphics so far.
It's also very slow at loading fonts, but that's easy to fix.
Let's put fonts in /res/fonts/.
2019-02-02 23:13:12 +01:00
Andreas Kling
655753c557
SharedGraphics: Fix Font.cpp kernel build.
2019-02-02 17:42:16 +01:00
Andreas Kling
6fc3c38324
Start working on a simple graphical font editor.
...
Editing fonts by editing text files is really slow and boring.
A simple font editor seems like a good way to take LibGUI for a spin.
2019-02-02 08:07:06 +01:00
Andreas Kling
ffab6897aa
Big, possibly complete sweep of naming changes.
2019-01-31 17:31:23 +01:00
Andreas Kling
c7b005c47b
Font: Eagerly load all 256 glyphs. It's not that many.
2019-01-27 05:19:00 +01:00
Andreas Kling
8fa7d96f50
SharedGraphics: Import another 8x10 fixed-width font I made.
...
It's not perfect yet but it's quite nice to look at so I'll make this the
system default for now. :^)
2019-01-25 15:33:47 +01:00
Andreas Kling
7a7fc37ca1
SharedGraphics: Draw an error glyph instead of crashing due to missing glyphs.
2019-01-23 08:07:58 +01:00
Andreas Kling
7e5b81fe48
Make a SharedGraphics directory for classes shared between Kernel and LibGUI.
2019-01-19 23:22:46 +01:00