Jump to content

Can't select Font subtypes in PDN 3.5 b2


Recommended Posts

Hi,

Just installed Paint.net 3.5 on Win7 Professional 32bit. Like it very much but I am unable to select the font variants of several open type fonts I've also installed on the system which Win7's own Paint program does let me select (see screenshots for comparison - Selecting the stag font and variants). I'm certain I could do this in v3.36 so I hope this is just part of the font handling improvements mentioned in the forum, but thought I would log it just in case it's a bug.

Thanks, Dan

33111_5a781c240fc632d48f1110a3a330f2a4

33111_22035a051f9e0bfb6edbbe3ffd195f27

Link to comment
Share on other sites

Also, I should mention that using the Bold and Italic buttons will automatically pick the appropriate "style" (variant) of a font. If you have "Arial" and "Arial Italic" for instance, enabling italics won't render a fake italicized "Arial" but will actually use "Arial Italic".

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

This won't be possible for v3.5, but let me ask my DirectWrite guy to see what can be done for the next release.

Part of the reason this wasn't done for v3.5 was just time constraints. What you want requires either a change to the way the font families are listed to you, or the addition of another drop down to let you choose the variant. Neither one of those made the schedule.

For now you can launch Paint.NET with the /disableDirectWrite command-line parameter. This will force Paint.NET to use GDI instead of DirectWrite. The benefit will be that you'll see the "complete" list of fonts, but the drawbacks will be performance and quality.

(I put "complete" in quotes up there because both lists are complete, just with respect to different organizational schemes.)

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

  • 2 months later...

As an update to this, I have a fix ready for v3.5.2.

Paint.NET v3.5.2 will now use GDI to get the list of fonts. This will give it the "expanded" list of names, e.g. Arial, Arial Narrow, Arial Black. It will then ask DirectWrite to create the font, and if that fails it will roundtrip the font through CreateFontFromLOGFONT(). This will then give it the correct Family Name + Weight/Style/Stretch that DirectWrite expects. In other words, it will convert "Arial Narrow" to "Arial" + Stretch=Narrow. This will all happen behind-the-scenes, so you won't have to worry about any of this.

Also, bitmap fonts such as Terminal, System, and Courier will now be available as well. DirectWrite doesn't handle these types of fonts, but GDI does. So, Paint.NET will now detect DW's refusal and use GDI as a fallback.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...