59c0bcf073
This patch removes the drawing used for rendering the border and the background and renders them using primitives instead. It provides two methods for drawing the border and the background: * draw_device_text_box -- when device fonts are used, * draw_text_box -- when fonts are embedded. Updated expected images in tests as they are closer to FP now: * text/auto_size/height, * text/auto_size/return, * text/auto_size/width, * visual/shumway_acid_tests/acid_color_0. For the test avm2/stage3d_texture it's hard to say whether the current output is closer to FP or not, as FP renders it with a different scale. However, I have confirmed that there exists a scale at which FP renders the text fields exactly as Ruffle after this patch. |
||
---|---|---|
.. | ||
assets | ||
build_playerglobal | ||
macros | ||
src | ||
Cargo.toml | ||
build.rs |