lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fix Type1 (PFA and PFB) font embedding (issue 313930043 by address@h


From: lemzwerg
Subject: Re: Fix Type1 (PFA and PFB) font embedding (issue 313930043 by address@hidden)
Date: Wed, 26 Oct 2016 08:08:50 -0700

How about stringstream?

std::stringstream ss;
ss << std::hex << std::setw (2) << std::setfill ('0')
    << static_cast<int>(static_cast<Byte>(*p++));
out.push_back (ss.str[0]);
out.push_back (ss.str[1]);

Looks better to me, but I have no experience with the `stringstream'
class.

https://codereview.appspot.com/313930043/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]