diff options
author | Norbert Preining <norbert@preining.info> | 2022-08-14 03:00:41 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-08-14 03:00:41 +0000 |
commit | e874d39878309e456c7ffe8d5fc6a91be571b50c (patch) | |
tree | 818c806809254f29f08c3e436a764cbdc566d59a /dviware/dvisvgm/libs/woff2/include | |
parent | b229ca426d9d7fee0e3c48c58a00ffcf3da66cb0 (diff) |
CTAN sync 202208140300
Diffstat (limited to 'dviware/dvisvgm/libs/woff2/include')
-rw-r--r-- | dviware/dvisvgm/libs/woff2/include/woff2/encode.h | 4 | ||||
-rw-r--r-- | dviware/dvisvgm/libs/woff2/include/woff2/output.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/dviware/dvisvgm/libs/woff2/include/woff2/encode.h b/dviware/dvisvgm/libs/woff2/include/woff2/encode.h index 34b7722974..2ac563032d 100644 --- a/dviware/dvisvgm/libs/woff2/include/woff2/encode.h +++ b/dviware/dvisvgm/libs/woff2/include/woff2/encode.h @@ -26,8 +26,8 @@ struct WOFF2Params { // Returns an upper bound on the size of the compressed file. size_t MaxWOFF2CompressedSize(const uint8_t* data, size_t length); -size_t MaxWOFF2CompressedSize(const uint8_t* data, size_t length, - const std::string& extended_metadata); +size_t MaxWOFF2CompressedSize(const uint8_t *data, size_t length, + const std::string &extended_metadata); // Compresses the font into the target buffer. *result_length should be at least // the value returned by MaxWOFF2CompressedSize(), upon return, it is set to the diff --git a/dviware/dvisvgm/libs/woff2/include/woff2/output.h b/dviware/dvisvgm/libs/woff2/include/woff2/output.h index c325f67be7..dc78ccf826 100644 --- a/dviware/dvisvgm/libs/woff2/include/woff2/output.h +++ b/dviware/dvisvgm/libs/woff2/include/woff2/output.h @@ -51,7 +51,7 @@ class WOFF2StringOut : public WOFF2Out { // Create a writer that writes its data to buf. // buf->size() will grow to at most max_size // buf may be sized (e.g. using EstimateWOFF2FinalSize) or empty. - explicit WOFF2StringOut(std::string* buf); + explicit WOFF2StringOut(std::string *buf); bool Write(const void *buf, size_t n) override; bool Write(const void *buf, size_t offset, size_t n) override; @@ -59,7 +59,7 @@ class WOFF2StringOut : public WOFF2Out { size_t MaxSize() { return max_size_; } void SetMaxSize(size_t max_size); private: - std::string* buf_; + std::string *buf_; size_t max_size_; size_t offset_; }; |