<commit_before>/*! 
 * \file font_analytic_linear.vert.wrath-shader.glsl
 * \brief file font_analytic_linear.vert.wrath-shader.glsl
 * 
 * Copyright 2013 by Nomovok Ltd.
 * 
 * Contact: <EMAIL>
 * 
 * This Source Code Form is subject to the
 * terms of the Mozilla Public License, v. 2.0.
 * If a copy of the MPL was not distributed with
 * this file, You can obtain one at
 * http://mozilla.org/MPL/2.0/.
 * 
 * \author <NAME> <<EMAIL>>
 * 
 */


shader_out mediump vec4 wrath_AnalyticTexCoord_Position;

void pre_compute_glyph(in vec2 glyph_position, 
		       in vec2 glyph_bottom_left,
		       in vec2 glyph_size,
		       in vec2 glyph_texture_reciprocal_size)
{
  mediump vec2 pp;

  pp=glyph_bottom_left + glyph_position;
  wrath_AnalyticTexCoord_Position.zw=pp;
  wrath_AnalyticTexCoord_Position.xy=pp*glyph_texture_reciprocal_size;
}<commit_msg>Analytic fonts work correctly again now<commit_after>/*! 
 * \file font_analytic_linear.vert.wrath-shader.glsl
 * \brief file font_analytic_linear.vert.wrath-shader.glsl
 * 
 * Copyright 2013 by Nomovok Ltd.
 * 
 * Contact: <EMAIL>
 * 
 * This Source Code Form is subject to the
 * terms of the Mozilla Public License, v. 2.0.
 * If a copy of the MPL was not distributed with
 * this file, You can obtain one at
 * http://mozilla.org/MPL/2.0/.
 * 
 * \author <NAME> <<EMAIL>>
 * 
 */


shader_out mediump vec4 wrath_AnalyticTexCoord_Position;

void pre_compute_glyph(in vec2 glyph_position, 
		       in vec2 glyph_bottom_left,
		       in vec2 glyph_size,
		       in vec2 glyph_texture_reciprocal_size)
{
  mediump vec2 pp;

  pp=glyph_bottom_left + glyph_position;
  wrath_AnalyticTexCoord_Position.zw=glyph_position;
  wrath_AnalyticTexCoord_Position.xy=pp*glyph_texture_reciprocal_size;
}
{'fraction_non_alphanumeric': 0.08810068649885583, 'fraction_numerical': 0.016018306636155607, 'mean_word_length': 3.7527173913043477, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '3837674', 'n_tokens_mistral': 670, 'n_tokens_neox': 587, 'n_words': 153}