[Bug 263228] graphics/blender without NLS option has no fonts

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 11 Apr 2022 20:43:47 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263228

            Bug ID: 263228
           Summary: graphics/blender without NLS option has no fonts
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: benny.goemans@gmail.com
                CC: FreeBSD@ShaneWare.Biz
             Flags: maintainer-feedback?(FreeBSD@ShaneWare.Biz)
                CC: FreeBSD@ShaneWare.Biz

I was surprised to start blender (self-built package) and see that there is no
text. After some digging I found out that it's because I've disabled the NLS
option. 
In stderr:
blf_load_font_default: 'fonts' data path not found for 'droidsans.ttf', will
not be able to display text
blf_load_font_default: 'fonts' data path not found for 'bmonofont-i18n.ttf',
will not be able to display text
blf_load_font_default: 'fonts' data path not found for 'bmonofont-i18n.ttf',
will not be able to display text

pkg-plist shows that there are no fonts unless NLS is set:
%%NLS%%%%DATADIR%%/%%VER%%/datafiles/fonts/bmonofont-i18n.ttf
%%NLS%%%%DATADIR%%/%%VER%%/datafiles/fonts/droidsans.ttf

If this isn't intentional it's probably best to have these fonts even if the
NLS option is set to OFF

-- 
You are receiving this mail because:
You are the assignee for the bug.