From 63898e0880a392e27a746cfd7c6a8b0e36301fac Mon Sep 17 00:00:00 2001 From: Hans-Joerg Schurr Date: Sat, 30 May 2020 22:02:31 +0200 Subject: [PATCH] Tweak README --- README.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 27983a8..b672ca1 100644 --- a/README.md +++ b/README.md @@ -15,12 +15,12 @@ tool that ships with Haiku. The library is written in modern standard C and MIT licensed. When finished it will feature a parser and rasterizer without any dependencies -beyond `libc`. Furthermore, a toy tool to convert *hvif* files into *png* +beyond *libc*. Furthermore, a toy tool to convert *hvif* files into *png* files is included. The author is not associated with the Haiku project. -## Current State +## Current Status The library is currently under heavy development. The current parser should be able to parse *hvif* files created with current Haiku builds, @@ -29,9 +29,14 @@ experimental rasterizer based on [cairo](https://www.cairographics.org/) is included. The purpose of this rasterizer is testing. It is not feature complete, but renders most real world icons reasonably well. -Here is an example: The `File_GoogleFS` icon as rendered by Haiku: +### Example + +The `File_GoogleFS` icon from the Haiku distribution as rendered by Haiku: + ![](docs/examples/File_GoogleFS_orig.png) + and as rendered with the current cairo based rasterizer: + ![](docs/examples/File_GoogleFS_hviflight.png) The next step is the preparation of a testing infrastructure. This should @@ -48,8 +53,8 @@ $ ./configure $ make -j ``` and `make install` as root should work. Beside a recent C compiler and -`pkg-config` the cairo library is required for now. Since no sensible -functionality independent of cairo is implemented as of now, cairo is +`pkg-config` the *cairo* library is required for now. Since no sensible +functionality independent of *cairo* is implemented as of now, cairo is a hard dependency. ### Development