diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-05-25 21:25:33 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-05-25 21:25:33 +0100 |
| commit | 8181d97d7f9ef0d44af748a5bd5666cf575955fe (patch) | |
| tree | d27502e2c9e1acf554796d94987620804d5a25c9 /src/dcp_reader.cc | |
| parent | b5dc08b66bc7e2340dd5a8a0156036a65a49f269 (diff) | |
Change API for alternate representations of time / font size etc. Fix Arial recognition.
Diffstat (limited to 'src/dcp_reader.cc')
| -rw-r--r-- | src/dcp_reader.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dcp_reader.cc b/src/dcp_reader.cc index dd40c97..4c3384e 100644 --- a/src/dcp_reader.cc +++ b/src/dcp_reader.cc @@ -236,11 +236,11 @@ DCPReader::font_id_to_name (string id) const return ""; } - if ((*i)->uri == "arial.ttf") { + if ((*i)->uri == "arial.ttf" || (*i)->uri == "Arial.ttf") { return "Arial"; } - return ""; + return (*i)->uri; } DCPReader::DCPReader (istream& in) |
