freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GSoC] Status of font-rs port


From: Anurag Thakur
Subject: [GSoC] Status of font-rs port
Date: Thu, 15 Sep 2022 21:47:46 +0000

Hi All!

This is the status report of the font-rs port:

 

The rasterizer code (including SIMD) has been integrated into the FreeType and seems to be working fine,

Comparison images: dense and smooth renderer (outlines and dots disabled)

Text

Description automatically generated with low confidenceText

Description automatically generated with low confidence

 

The performance is comparable (sometimes better) to the smooth renderer for small font sizes, however it is several times slower for larger sizes

 

Producing correct output from the port took much longer than I had anticipated, but now that its working I can focus on optimizing its performance, and fixing bugs

 

I am thinking of working on the “Direct rendering mode” next. Any pointers regarding that would be appreciated.

 

Now that the font-rs code is there, I will be looking at the optimizations done by the fontdue project and see if any can be ported over.

 

The code is available in the “gsoc-anurag-2022” branch for testing (I will be cleaning it up and adding comments this weekend)

 

And just for reference

List of bugs I have encountered:
1. Ftgrid produces weird output and crashes at large sizes(~170ppem)

2. The inverted bitmap pitch causes rendering differences (can be seen in the “Q” letter of the ftview output)

3. Ftgrid crashes when selecting monochrome output

4. [TODO] lcd rendering needs to be implemented

 

Hopefully the renderer performance will improve even more in the coming weeks.

 

Regards

Anurag


reply via email to

[Prev in Thread] Current Thread [Next in Thread]