1
0
Fork 0

Tweak README

This commit is contained in:
Hans-Joerg Schurr 2020-05-30 22:02:31 +02:00
parent e1c669cd05
commit 63898e0880
1 changed files with 10 additions and 5 deletions

View File

@ -15,12 +15,12 @@ tool that ships with Haiku.
The library is written in modern standard C and MIT licensed. When The library is written in modern standard C and MIT licensed. When
finished it will feature a parser and rasterizer without any dependencies 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. files is included.
The author is not associated with the Haiku project. The author is not associated with the Haiku project.
## Current State ## Current Status
The library is currently under heavy development. The current parser The library is currently under heavy development. The current parser
should be able to parse *hvif* files created with current Haiku builds, 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 is included. The purpose of this rasterizer is testing. It is not feature
complete, but renders most real world icons reasonably well. 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) ![](docs/examples/File_GoogleFS_orig.png)
and as rendered with the current cairo based rasterizer: and as rendered with the current cairo based rasterizer:
![](docs/examples/File_GoogleFS_hviflight.png) ![](docs/examples/File_GoogleFS_hviflight.png)
The next step is the preparation of a testing infrastructure. This should The next step is the preparation of a testing infrastructure. This should
@ -48,8 +53,8 @@ $ ./configure
$ make -j $ make -j
``` ```
and `make install` as root should work. Beside a recent C compiler and 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 `pkg-config` the *cairo* library is required for now. Since no sensible
functionality independent of cairo is implemented as of now, cairo is functionality independent of *cairo* is implemented as of now, cairo is
a hard dependency. a hard dependency.
### Development ### Development