Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
It might not look like much, but...
That's USB mouse.
Working.
The kind of "at last" moment after a long season of figuring things out, implementing, testing and bug-busting.
Oh, and not just in Qemu, but on real hardware as well. That is the real money shot, since Qemu's USB is so simplified it's not even fun.
Artlav wrote:It might not look like much, but...
That's USB mouse.
Working.
The kind of "at last" moment after a long season of figuring things out, implementing, testing and bug-busting.
Oh, and not just in Qemu, but on real hardware as well. That is the real money shot, since Qemu's USB is so simplified it's not even fun.
It looks really good. Can you show us what that folder icon does?
OS: Basic OS
About: 32 Bit Monolithic Kernel Written in C++ and Assembly, Custom FAT 32 Bootloader
In that example, Pango is using Freetype to read TTF fonts. It's also using Fontconfig to fall back when glyphs can't be found (eg, the main text is DejaVu Sans Mono, but the Japanese is a totally different TTF file).
I use libpangocairo to actually perform the drawing onto Cairo surfaces.
pcmattman wrote:In that example, Pango is using Freetype to read TTF fonts.
Cute.
Font support is one of these things programmers tend to ignore completely.
I've been googling around, but can't quite figure it out - how is Pango different from Freetype?
That is, what features does it provide over the glyphs taken from FT?
I was thinking of using Freetype on it's own for my OS.
Here's my latest version. A few of the coreutils are working (the basic ones) and gcc will compile hello.c. Also truetype, cairo, ncurses work. Nano kind of runs a bit and of course the obligatory glxgears. The calculator and terminal are the first Apps for my graphics toolkit. Still plenty of bugs.
If a trainstation is where trains stop, what is a workstation ?
Artlav wrote:I've been googling around, but can't quite figure it out - how is Pango different from Freetype?
That is, what features does it provide over the glyphs taken from FT?
In my case, Pango is still using Freetype as a font backend to actually get glyphs to render. Pango then looks after details like layout, and it's particularly good at complex scripts and internationalisation issues (the example shows an embedded switch to RTL for non-English text).