File: mac_roman.rb

package info (click to toggle)
ruby-ttfunk 1.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 18,472 kB
  • sloc: ruby: 7,954; makefile: 7
file content (17 lines) | stat: -rw-r--r-- 362 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# frozen_string_literal: true

require 'set'

require_relative 'code_page'

module TTFunk
  module Subset
    # Mac Roman subset. It uses code page 10,000 and Mac OS Roman encoding.
    class MacRoman < CodePage
      # @param original [TTFunk::File]
      def initialize(original)
        super(original, 10_000, Encoding::MACROMAN)
      end
    end
  end
end