<commit_before>package org.tlhInganHol.android.klingonassistant;

import android.graphics.Paint;
import android.graphics.Typeface;
import android.text.TextPaint;
import android.text.style.TypefaceSpan;

public class KlingonTypefaceSpan extends TypefaceSpan {
  private final Typeface mTypeface;

  public KlingonTypefaceSpan(String family, Typeface typeface) {
    super(family);
     mTypeface = typeface;
  }

  @Override
  public void updateMeasureState(TextPaint tp) {
    // tp.setTypeface(mTypeface);
    tp.setFlags(tp.getFlags() | Paint.SUBPIXEL_TEXT_FLAG);
  }

  @Override
  public void updateDrawState(TextPaint tp) {
    // tp.setTypeface(mTypeface);
    tp.setFlags(tp.getFlags() | Paint.SUBPIXEL_TEXT_FLAG);
  }
}<commit_msg>replaced title, but accidentally replaced category with wrong thing<commit_after>package org.tlhInganHol.android.klingonassistant;

import android.graphics.Paint;
import android.graphics.Typeface;
import android.text.TextPaint;
import android.text.style.TypefaceSpan;

public class KlingonTypefaceSpan extends TypefaceSpan {
  private final Typeface mTypeface;

  public KlingonTypefaceSpan(String family, Typeface typeface) {
    super(family);
    mTypeface = typeface;
  }

  @Override
  public void updateMeasureState(TextPaint tp) {
    tp.setTypeface(mTypeface);
    tp.setFlags(tp.getFlags() | Paint.SUBPIXEL_TEXT_FLAG);
  }

  @Override
  public void updateDrawState(TextPaint tp) {
    tp.setTypeface(mTypeface);
    tp.setFlags(tp.getFlags() | Paint.SUBPIXEL_TEXT_FLAG);
  }
}
{'fraction_non_alphanumeric': 0.09377049180327869, 'fraction_numerical': 0.0, 'mean_word_length': 4.9609375, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3637717', 'n_tokens_mistral': 504, 'n_tokens_neox': 497, 'n_words': 94}