lukejanicke

Members
  • Content count

    22
  • Joined

  • Last visited

  1. Solved! I should have noticed that ratio. I thought I had tried changing DPI but then I noticed that even if the document’s DPI is set to 96, the SVG export DPI is automatically set to 72 at first. When I set the document DPI to 96 and also set the SVG export DPI to 96, then the text in the exported image is 12pt/16px on the webpage, same size at the HTML 12py/16px text. Thanks!
  2. Last post on this issue and then I’ll wait to see what others think. My interim solution is to use size 16 pt font in Affinity Designer. It will export as 16 px, which matches the HTML where it will be embedded.
  3. When I change the Document Units in Document Setup… from from pixels to points, 400px by 300px becomes 400pt by 300pt automatically. But the image doesn’t get bigger or smaller, which supports the conclusion that 12pt and 12px are the same in Affinity when exporting to SVG.
  4. When I manually change 12px in the exported SVG file to 12pt, the text in the SVG is displayed bigger than originally designed in Affinity. This will be a problem for designing figures.
  5. I notice that 12pt in CSS is reported at 16px in Developer Tools (in Safari). That seems relevant.
  6. I tested PDF and Affinity Designer exports 12 pt to the same size as a Word document does to PDF.
  7. Okay, so I just noticed that the exported SVG gets font-size:12px, and I think that should be 12 point not 12 pixels. Does this mean that when you choose 12 pt in Affinity Designer, you’re really choosing 12 px?
  8. I am aiming to export SVG files with 12 point text (in Affinity) where that text is the same size as the 12 point text in the HTML where the SVG is embedded. As you can see, the text in the SVG and PNG is smaller that the text in the HTML above it. The HTML <!DOCTYPE html> <html lang="en" dir="ltr"> <head> <meta charset="utf-8"> <title>Test</title> <style media="screen"> * { font-size: 12pt; font-family: "Open Sans"; } </style> </head> <body> <p>This is a test of SVG sizes from Affinity Designer.</p> <p>The font on this page is 12 point Open Sans Regular.</p> <p><strong>SVG</strong></p> <p><object type="image/svg+xml" data="1.svg">Your browser does not support SVG.</object></p> <p><strong>PNG</strong></p> <p><img src="1.png" alt=""></p> </body> </html> The SVG <?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg width="400px" height="300px" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;"> <rect x="0" y="0" width="400" height="300" style="fill:#f2f2f2;"/> <text x="10px" y="19.117px" style="font-family:'OpenSans-Regular', 'Open Sans', sans-serif;font-size:12px;">This is 12 point Open Sans Regular.</text> <text x="62.674px" y="162.808px" style="font-family:'OpenSans-Bold', 'Open Sans', sans-serif;font-weight:700;font-size:52.831px;fill:#fff;">400×300px</text> </svg>
  9. Panel titles are blurry. I never noticed this before so I believe it has just happened. macOS High Sierra 10.13.3 MacBook Pro 13-inch 2916 Affinity Designer 1.6.1 It’s quite sore on the eyes when everything else is clean and sharp.
  10. To further supplement @A_B_C’s excellent answer(s), if you want the bevel to activate at exactly 90° (or less), you need to set the Mitre to exactly the square root of 2, which is approximately 1.4142135624. If you enter ‘sqrt(2)’, Affinity will calculate the square root of 2 for you, but only to 3 decimal places, which means it rounds down to 1.414. At that value, the Bevel actually kicks in at 90°—squares get Bevel corners. If you want the Bevel to kick only when the inside angle is less than 90°, just bump 1.414 up to 1.415. Now anything less than square gets a Bevel. Of course, this is only if you want the strict result of Bevel for angles less than 90°. The default value of 1.5 means Bevel will kick in when the angle is less than about 84°. Finally, if you want no Bevel, which is why I came here, you just have to set a Mitre that you know will never be exceeded. Try the dimensions of your canvas, at least than it won’t matter if there is a Bevel. Feature Request? Option to turn Bevel off completely. With this feature, I don’t have to think about entering a big enough Mitre, I just click a button and I get sharp corners guaranteed.
  11. Thanks! That was perfect for my needs. @gdenby Good to know! As a mathematician, I would love numeric access to those parameters.
  12. Definitely, definitely need vector hatch fills. Workarounds are fine for now but custom defined vector fill patterns (with some predefined typical hatch and thatch patterns shipped with the app) would be useful for both technical and creative drawers. Lines get the dash feature. A simple hatch/thatch fill feature would look like that. An ultimate flexible feature would be to create custom fill patterns, like you do for brushes or symbols.
  13. Oh, just noticed similarly, you can’t snap to other objects when rotating either. Only to multiples of 15 degrees.
  14. Pie tool is great when I know the angle I want. But sometimes I want to snap to a line, like measuring out the angle between two intersecting lines when I don’t know the angle between those two lines. The pie tool node only snaps to common angles. It doesn’t snap to paths when you cross them. Even if you place another shape with a corner at exactly the intersection of the air and the pine, the pie node doesn’t pick it up. Is there any technique I am missing?
  15. When I double-click the left-mid or right-mid control point on a Text Frame with only one character, it resizes too small every time. To snap to the left or right control points, you have to left or right justify the text. Otherwise the control point isn’t actually at the extremity of the frame.