• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

sile-typesetter / sile / 9304060604

30 May 2024 02:07PM UTC coverage: 74.124% (-0.6%) from 74.707%
9304060604

push

github

alerque
style: Reformat Lua with stylua

8104 of 11995 new or added lines in 184 files covered. (67.56%)

15 existing lines in 11 files now uncovered.

12444 of 16788 relevant lines covered (74.12%)

7175.1 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

81.82
/core/fontmanager.lua
1
local fontManager = {}
181✔
2
fontManager.fontconfig = require("justenoughfontconfig")
181✔
3
pcall(function ()
362✔
4
   fontManager.macfonts = require("macfonts")
181✔
5
end)
6

7
fontManager.face = function (self, ...)
8
   local manager
9
   if SILE.forceFontManager then
338✔
10
      manager = self[SILE.forceFontManager]
338✔
11
   else
NEW
12
      manager = self.macfonts and self.macfonts or self.fontconfig
×
13
   end
14
   if not manager then
338✔
NEW
15
      SU.error("Failed to load any working font manager")
×
16
   end
17
   return manager._face(...)
338✔
18
end
19

20
return fontManager
181✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc