class_docstr: the OS/2 table
class_docstr_tok: ["the","OS\/2","table"]
docstr: Return the set of 'ulCodePageRange*' bits currently enabled.
docstr_tok: ["Return","the","set","of","'ulCodePageRange","*","'","bits","currently","enabled","."]
code: def getCodePageRanges(self):
      """Return the set of 'ulCodePageRange*' bits currently enabled."""
      bits = set()
      if self.version < 1:
          return bits
      ul1, ul2 = self.ulCodePageRange1, self.ulCodePageRange2
      for i in range(32):
          if ul1 & (1 << i):
              bits.add(i)
          if ul2 & (1 << i):
              bits.add(i + 32)
      return bits
  
imports: from fontTools.misc import sstruct
  from fontTools.misc.roundTools import otRound
  from fontTools.misc.textTools import safeEval, num2binary, binary2num
  from fontTools.ttLib.tables import DefaultTable
  import bisect
  import logging
label_desc: Use image node_id 15 for calling the table_O_S_2f_2 obj's underlying member method code with example usage: obj.getCodePageRanges() and returns: bits, bits