File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -205,7 +205,9 @@ class font
205205 renderer, //
206206 matrix,
207207 color,
208- utki::utf8_iterator (str)
208+ utki::utf8_iterator (str),
209+ tab_size,
210+ offset
209211 );
210212 }
211213
@@ -221,17 +223,19 @@ class font
221223 * @return Redner result.
222224 */
223225 render_result render (
226+ render::renderer& renderer, //
224227 const ruis::matrix4& matrix, //
225228 const ruis::color& color,
226- const std::string& str,
229+ std::string_view str,
227230 unsigned tab_size = 4 ,
228231 size_t offset = std::numeric_limits<size_t >::max()
229232 ) const
230233 {
231234 return this ->render (
232- matrix, //
235+ renderer, //
236+ matrix,
233237 color,
234- str. c_str ( ),
238+ utki::utf8_iterator (str ),
235239 tab_size,
236240 offset
237241 );
You can’t perform that action at this time.
0 commit comments