code: protected int CalcBias(int Offset,int Font)
  	{
  		seek(Offset);
  		int nSubrs = getCard16();
  		// If type==1 -> bias=0 
  		if (fonts[Font].CharstringType == 1)
  			return 0;
  		// else calc according to the count
  		else if (nSubrs < 1240)
  			return 107;
  		else if (nSubrs < 33900)
  			return 1131;
  		else
  			return 32768;
  	}
docs: Function calcs bias according to the CharString type and the count
  of the subrs
  @param Offset The offset to the relevant subrs index
  @param Font the font
  @return The calculated Bias