]> git.sesse.net Git - casparcg/blob - core/producer/text/utils/string_metrics.h
Additional font metrics and correct height calculation
[casparcg] / core / producer / text / utils / string_metrics.h
1 #pragma once
2
3 namespace caspar { namespace core { namespace text {
4
5         struct string_metrics
6         {
7                 string_metrics() : width(0), bearingY(0), height(0) {}
8                 int width;
9                 int bearingY;
10                 int protrudeUnderY;
11                 int height;
12         };
13 }}}