From 7ec9326ce00d08f9d957981f2edff6df26f24a28 Mon Sep 17 00:00:00 2001 From: jinlin <jinlin> Date: 星期四, 26 九月 2024 13:25:02 +0800 Subject: [PATCH] 修改 --- web/public/SVGOrigin/Method-Draw-master/method-draw/css/font-files/test.html | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/web/public/SVGOrigin/Method-Draw-master/method-draw/css/font-files/test.html b/web/public/SVGOrigin/Method-Draw-master/method-draw/css/font-files/test.html index e96f143..8921fa8 100644 --- a/web/public/SVGOrigin/Method-Draw-master/method-draw/css/font-files/test.html +++ b/web/public/SVGOrigin/Method-Draw-master/method-draw/css/font-files/test.html @@ -6,14 +6,14 @@ </head> <body> <h2>@font-face in SVG</h2> - + <p style="width: 500px"><strong>Problem:</strong> I'm trying trying to place an images in svg format with custom fonts. It works in <code>svg</code> but not in <code>img</code>. If you open the image in a new tab you will see it rendered with the proper font. The font is served from this same website in this directory.</p> - + <a href="test_ff.svg">Link to the test.svg</a> - + <table> <tr><td> - <svg width="500" height="200" version="1.1" xmlns = 'http://www.w3.org/2000/svg' xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 500 200"> + <svg width="500" height="200" version="1.1" xmlns = 'http://www.w3.org/2000/svg' xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 500 200"> <defs> <style type="text/css"> @font-face { @@ -30,7 +30,7 @@ </td> <td> <pre> - <svg width="500" height="200" version="1.1" xmlns = 'http://www.w3.org/2000/svg' xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 500 200"> + <svg width="500" height="200" version="1.1" xmlns = 'http://www.w3.org/2000/svg' xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 500 200"> <defs> <style type="text/css"> @font-face { @@ -55,8 +55,8 @@ </pre> </td> </tr> - </table> - - + </table> + + </body> </html> -- Gitblit v1.9.1