<commit_before>
#include <gloperate-text/FontFace.h>


namespace gloperate_text
{


FontFace::FontFace()
: m_ascent (0.f)
, m_descent(0.f)
, m_linegap(0.f)
{
}

FontFace::~FontFace()
{
}

float FontFace::size() const
{
    // Note: m_descent is usually negative.
    return m_ascent - m_descent;
}

float FontFace::ascent() const
{
    return m_ascent;
}

void FontFace::setAscent(const float ascent)
{
    assert(ascent > 0.f);
    m_ascent = ascent;
}

float FontFace::descent() const
{
    return m_ascent;
}

void FontFace::setDescent(const float descent)<commit_msg>Return the actual descent<commit_after>
#include <gloperate-text/FontFace.h>


namespace gloperate_text
{


FontFace::FontFace()
: m_ascent (0.f)
, m_descent(0.f)
, m_linegap(0.f)
{
}

FontFace::~FontFace()
{
}

float FontFace::size() const
{
    // Note: m_descent is usually negative.
    return m_ascent - m_descent;
}

float FontFace::ascent() const
{
    return m_ascent;
}

void FontFace::setAscent(const float ascent)
{
    assert(ascent > 0.f);
    m_ascent = ascent;
}

float FontFace::descent() const
{
    return m_descent;
}

void FontFace::setDescent(const float descent)
{'fraction_non_alphanumeric': 0.13506493506493505, 'fraction_numerical': 0.006926406926406926, 'mean_word_length': 4.254545454545455, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '4727580', 'n_tokens_mistral': 468, 'n_tokens_neox': 454, 'n_words': 90}