private boolean isFirstInZone(BxLine line) {
   return !line.hasPrev() || line.getParent() != line.getPrev().getParent();
 }
 private double getFontIndex(BxLine line) {
   List<String> fonts =
       Lists.newArrayList(line.getParent().getParent().getParent().getFontNames());
   Collections.sort(fonts);
   return fonts.indexOf(line.getMostPopularFontName());
 }