def fontist_font?
normalized_path = @path.gsub("\\", "/")
normalized_fonts_path = Fontist.fonts_path.to_s.gsub("\\", "/")
if ENV["DEBUG_FONT_PATH"]
puts "DEBUG FontPath#fontist_font?:"
puts " @path: #{@path.inspect}"
puts " normalized_path: #{normalized_path.inspect}"
puts " Fontist.fonts_path.to_s: #{Fontist.fonts_path.to_s.inspect}"
puts " normalized_fonts_path: #{normalized_fonts_path.inspect}"
puts " Fontist::Utils::System.windows?: #{Fontist::Utils::System.windows?.inspect}"
end
result = if Fontist::Utils::System.windows?
normalized_path.downcase.start_with?(normalized_fonts_path.downcase)
else
normalized_path.start_with?(normalized_fonts_path)
end
puts " result: #{result.inspect}" if ENV["DEBUG_FONT_PATH"]
result
end