bugental Posted November 9, 2021 Share Posted November 9, 2021 (edited) Ligatures (for example: æ, st, ff etc.) don't work in paint.net; in previous versions you could force it by finding the PresentationFramework.dll file in Windows --> Microsoft.NET --> ... --> WPF and manually changing get_HistoricalLigatures and set_HistoricalLigatures from 'false' to 'true', now this workaround seems to doesn't work anymore - maybe that's because of app using self-containing deployment of .NET? If those changes are made in PresentationFramework.dll file found in paint.net folder, the app crashes. What should I do to get my historical ligatures back? Edited November 9, 2021 by bugental Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted November 10, 2021 Share Posted November 10, 2021 Modifying WPF shouldn't have had any affect anyway since Paint.NET doesn't use WPF's text rendering at all, it uses DirectWrite. It seems to be working fine for me here, no modifications necessary. I just copy-pasted the text from your post. 1 1 Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
Rick Brewster Posted November 10, 2021 Share Posted November 10, 2021 DirectWrite does support this via DWRITE_FONT_FEATURE_TAG_HISTORICAL_LIGATURES, which is documented here https://docs.microsoft.com/en-us/windows/win32/api/dwrite/ne-dwrite-dwrite_font_feature_tag as: Quote DWRITE_FONT_FEATURE_TAG_HISTORICAL_LIGATURESReplaces the default (current) forms with the historical alternates. Some ligatures were in common use in the past, but appear anachronistic today. Some fonts include the historical forms as alternates, so they can be used for a 'period' effect. This doesn't seem like a good idea to enable for all text editing, and it's such a niche feature I don't think it's worth adding as a button in the toolbar or something. 1 Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.