private void inFont(BufferedReader br, StringBuilder verd, StringBuilder roig) {
        try {
            int i = br.read();
            StringBuilder sb = new StringBuilder(20);
            String aux;
            boolean cont = true;

            boolean withWords = false;

            while ((i >= 0) && cont) {
                if ((char) i == '>') {
                    if (sb.toString().endsWith("color=green")) {
                        // estem en el mode verd
                        //
                        if (withWords) {
                            cont = fillWords(br, verd);
                        } else {
                            cont = fillFull(br, verd);
                        }
                    } else {
                        if (sb.toString().endsWith("color=red")) {
                            // estem en el mode roig
                            if (withWords) {
                                cont = fillWords(br, roig);
                            } else {
                                cont = fillFull(br, roig);
                            }
                        }
                    }

                } else {
                    sb.append((char) i);
                    i = br.read();
                }

            }
        } catch (IOException ex) {
            Logger.getLogger(BitextAnalyzer.class.getName()).log(Level.SEVERE, null, ex);
        }
    }