Skip to content

Commit 6cbb3b4

Browse files
committed
Ensuring test cases run at GitHub.
1. Removed dead code as well.
1 parent 0e0e661 commit 6cbb3b4

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

REQUIRE

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,3 @@ TimeZones
66
Documenter
77
LabelNumerals
88
IntervalTrees
9-
StringEncodings

src/PDFontTables.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ const GlyphName_to_ZAPEncoding = reverse_dict(ZAPEncoding_to_GlyphName)
5757

5858
# To be deleted when AGL gets registered.
5959

60-
if Pkg.installed("AdobeGlyphList") === nothing
60+
try
61+
Pkg.installed("AdobeGlyphList") !== nothing
62+
catch
6163
Pkg.clone("https://github.com/sambitdash/AdobeGlyphList.jl.git")
6264
end
6365

src/PDFonts.jl

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,6 @@ mutable struct CMap
2323
IntervalMap{UInt8, Union{CosObject, IntervalMap{UInt8, CosObject}}}())
2424
end
2525

26-
#=
27-
mutable struct CMap
28-
code_space::Array{UInt8,2}
29-
CMap() = new(zeros(UInt8, 256, 3))
30-
end
31-
=#
32-
3326
function show(io::IO, cmap::CMap)
3427
show(io, "Code Space:\n")
3528
show(io, cmap.code_space)

0 commit comments

Comments
 (0)