Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Blacklist issues #37

Closed
phst opened this Issue · 5 comments

4 participants

@phst
Collaborator

I have a few problems with the blacklist (otfl-blacklist.cnf):

  • It blacklists lots of useful OS X fonts, apparently for no good reason (e.g., after uncommenting Hoefler Text I can use that font just as expected in LuaLaTeX).
  • There is no way to overwrite the distribution's blacklist. A blacklist file in the home tree gets merged with the system list, in contrast to all other TeX-related files.
  • It is not possible to remove something from the blacklist without editing the system blacklist.

I think the blacklist system should be rethought:

  • Most entries should be removed unless they cause serious trouble.
  • The function read_blacklist in otfl-font-nms.lua should scan only the first file found so that users can overwrite the system defaults.
@zhouyan

Maybe letting users' file overwrite the system defaults completely is not a good idea. There can be various reasons for a font to be included in the black-list. For example the font in a particular version of OS is broken a particular version of LuaTeX. Though the binary files in TL are frozen after release, some users may use TLContrib to update binaries. A system default should be working out of box for most users.

I think it maybe more useful to implement a white-list feature such that the white-list has priority over black-list. This way, users' black-list can supplementary systems' default while the white-list can overwritten part but not all of system defaults.

@pgundlach

I think the patch in #39 solves this issue.

@phst
Collaborator

That pull request indeed solves bullet points two and three, thanks for that!
Regarding bullet point one, on my system I can comment out all the fonts in the blacklist except Last Resort, without any apparent problems. What have been the reasons for having them in the blacklist originally? Maybe they don't apply any more.

@khaledhosny
Owner

They were blacklisted by Will stating that all ttc fonts on mac crash luatex, the bug in luatex might have been fixed since then.

@pgundlach

There were some fixes in LuaTeX, see http://tracker.luatex.org/view.php?id=397 but I don't know if this applies here. I'd suggest to remove everything from the blacklist except for "last resort".

@khaledhosny khaledhosny closed this issue from a commit
@khaledhosny Comment out mac ttc fonts
LuaTeX does not crash anymore.
fixes #37
694324a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.