Files
news.gitea.happylizard.me/bin/gems/ttfunk-1.8.0/lib/ttfunk/table/cff/top_index.rb
T
pizza2d1 4cee170d66
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 9s
Add bin and edit workflow
2026-09-16 13:11:16 -06:00

22 lines
446 B
Ruby

# frozen_string_literal: true
module TTFunk
class Table
class Cff < TTFunk::Table
# CFF Index conatining Top dict.
class TopIndex < TTFunk::Table::Cff::Index
private
def decode_item(_index, offset, length)
TTFunk::Table::Cff::TopDict.new(file, offset, length)
end
def encode_items(*)
# Re-encode the top dict
map(&:encode)
end
end
end
end
end