fabrizioschiavi / pragmatapro

PragmataPro font is designed to help pros to work better

Home Page:https://www.fsd.it/shop/fonts/pragmatapro/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nerd fonts glyphs for PragmataProMono stopped working for macOS Ventura

0-issue opened this issue · comments

I think this is the case for all PUA areas as multiple disjoint areas are not rendered now. Check the screenshot below. On front is the test .txt file with all glyphs you have put on your website. On back (transparency) is the same area that shows some of the glyphs affected.

Font version: 0.829 or 0.828
macOS: 13.0 (22A380), with latest xcode command line tools installed.

Note: I have already cleared and rebuilt the font cache by booting machine in safe mode, and rebooting in normal mode as suggested by: https://glyphsapp.com/learn/eliminating-font-cache-problems

Screenshot 2022-11-04 at 2 08 08 PM

Oh wow! Weird!
I’ll upgrade to MacOS Ventura and I’ll make you know soon.
Thanks to letting me know it

@fabrizioschiavi Thanks! Try setting Pragmata Pro Mono as the font for Terminal.app or iTerm2 and open that text file with all glyphs. Not sure if all apps are affected (didn't do a comprehensive test).

commented

@fabrizioschiavi Hello! Do you have some news about this issue? I have the same problem in iTerm2 (MacOS Ventura)

I've searched about the changes applied by Apple at PUA areas but I haven't found nothing. If someone is more lucky than me please let me know here. Thanks!

Not sure if it would be of help to you, but patching pragmatapro files with https://github.com/ryanoasis/nerd-fonts's font-patcher script works. The result from it renders the glyphs totally fine in all applications...

Though it's not a solution as it replaces those nerd font glyphs with its own afaik (so it won't be pragmatapro's glyphs). Am not sure if you could "diff" the font files and see what is going on... I found a font diff utility, though I am not a font expert: https://github.com/source-foundry/fdiff

EDIT: I sent you an email with diff file...

Ah ok, this change the situation. Thank you @amanvm !

commented

@amanvm I have some troubles with patching of fonts. I installed fontforge by using homebrew and after this I have some problems... Can you help me, please? Can you write what did you do step by step?

@Yanior You need font-patcher installed too. Here are the steps:

  1. Open url: https://www.nerdfonts.com
  2. Scroll to section "Font Patcher Script", it's at the bottom of the page.
  3. Download Patcher.
  4. Now from terminal cd <directory_of_pragmatapro>
<directory_of_patcher>/font-patcher --fontawesome --fontawesomeextension --octicons --powersymbols --pomicons --powerline --powerlineextra --weather --material -out ./patched PragmataPro_Mono_R_0829.ttf

Result will be in <directory_of_pragmatapro>/patched.
6. Repeat step 5. for other font files too.
7. The name of the resulting file can be long, replace with some reasonable name.

There is a --careful flag to not overwrite a glyph if it exists, but I didn't try if that works well too.

commented

@amanvm Thank you very much!

I found time to investigate to this issue.
Mono versions never included Nerd fonts glyphs, by design, because they are double width glyphs.
Inserting these glyphs on Mono(spaced) versions they can't be anymore monospaced fonts.
Streching the glyphs takes at terrible and useless results.
Screenshot 2022-11-27 at 17 59 48
The solution is to use other versions available on PragmataPro pack