Anders Melander

Results 94 comments of Anders Melander

I tried enhancing the cache replacement policy to make it more resistant to trashing. Since I store the hit count on each individual glyph there's plenty of data available to...

The current cache implementation is by design not thread safe. It would be relatively simple to make it thread safe, but since it is only used by the existing TextToPath...

I've done a bit of quick benchmarking. - Caching the raw font outline data, as returned by GDI, improves the text rendering performance by **95-150%** depending of the renderer used...

I don't know if I'm super sensitive but I can see it in your example too. The pixels marked with blue are all on the inside and should not have...

> You must have amazing eyes Oh, thank you :-* but maybe my monitor is just better calibrated... > In theory, brush polygons could fill just up to the inner...

> ISTM The International Society of Travel Medicine? > overlap and anti-aliasing was still used between brush and stroke Yes. The stroke is anti aliased on both sides. I can...

I'm sorry but I can't see how that helps. You're just using back buffers to construct the filled polygon and I can already do that with just a single buffer....

Here's one way to do it with a single buffer: 1. Normalize the alpha of the two colors used so the range is 0-255 (i.e. the highest alpha is 255)....

@micha137 Yes, I understand that in a real project, which needs to support multiple platforms or build configs, one would use `$(Platform)\$(Config)` or something like it, but in this case...

> Binaries, Capital letters. Sure. No problem. > Lib Habit from my days as a C/C++ developer where intermediaries would go into `lib`. I guess the more correct term would...