using_skia_and_harfbuzz: compile w/ Android NDK
TBR=djsollen@google.com GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1977503002 Review-Url: https://codereview.chromium.org/1977503002
This commit is contained in:
parent
13b9c95295
commit
dd05e2a96e
@ -9,9 +9,11 @@
|
||||
// produce a PDF file from UTF-8 text in stdin.
|
||||
|
||||
#include <cassert>
|
||||
#include <cstdlib>
|
||||
#include <iostream>
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <sstream>
|
||||
|
||||
#include <hb-ot.h>
|
||||
|
||||
@ -46,7 +48,9 @@ struct DoubleOption : Option<double> {
|
||||
value = atof(_value.c_str());
|
||||
}
|
||||
virtual std::string valueToString() {
|
||||
return std::to_string(value);
|
||||
std::ostringstream stm;
|
||||
stm << value;
|
||||
return stm.str();
|
||||
}
|
||||
DoubleOption(std::string selector, std::string description, double defaultValue) :
|
||||
Option<double>(selector, description, defaultValue) {}
|
||||
|
Loading…
Reference in New Issue
Block a user