Jump to content
You must now use your email address to sign in [click for more info] Γ—

Davide.Barranca

Members
  • Posts

    27
  • Joined

  • Last visited

1 Follower

Contact Methods

  • Website URL
    http://www.davidebarranca.com

Profile Information

  • Gender
    Male
  • Location
    Italy

Recent Profile Visitors

949 profile views
  1. Thanks! Let me understand: shapes will act as 1bit masks (either visible or invisible): But there's no way to modulate the mask transparency in a non-destructive way, right? I wasn't expecting thatβ€”a bit of a bummer.
  2. Hi all, I'm drawing a gradient as a mask for a vector layer: All is good, except that, subsequently, I don't seem able to edit the gradient anymore: When I try to edit the existing gradient in the Mask (which I'm assuming is editable, but I might be wrong), as soon as I click anywhere with the gradient tool, Designer gets me back to the composite visualization: I'd have expected the same behaviour with gradient fills. Is this as expected? Thanks, Davide
  3. Sure, here is the exported SVG and the source .afdesigner. I ended up doing the SVG by hand with code, it's way (way) cleaner – a bit of a PITA, but more readable. Quite unclear why all those unnecessary <tspan>s and rect turned into paths: I suppose it makes sense for complex designs but a handful of basic shapes with with fills could be handed more easily. Β―\_(ツ)_/Β― RoundedCorners.zip
  4. If you export to SVG a rounded corners rectangle with a stroke it gets heavily distorted/stretched depending on the rectangle's ratio. This is Designer (as it should appear): This is the result of the SVG exportation – setting: SVG (for Export) – loaded in a browser The fill makes no difference (I've tried with and without) Also Text is kinda funny: is this normal? <g id="Adtion-text" transform="matrix(0.354872,0,0,0.976774,-577.26,976.881)"> <text x="1659.04px" y="248.288px" style="font-family:'SourceSansPro-Bold', 'Source Sans Pro', sans-serif;font-weight:700;font-size:52px;">Action Butt<tspan x="1916.9px " y="248.288px ">o</tspan>ns</text> <text x="1659.04px" y="308.288px" style="font-family:'SourceSansPro-Regular', 'Source Sans Pro', sans-serif;font-size:40px;">Apply the e<tspan x="1844.96px 1867.52px " y="308.288px 308.288px ">ffe</tspan>ct<tspan x="1919.8px " y="308.288px ">,</tspan> Canc<tspan x="2020.28px " y="308.288px ">e</tspan>l</text> <text x="1659.04px" y="360.288px" style="font-family:'SourceSansPro-Regular', 'Source Sans Pro', sans-serif;font-size:40px;">or ac<tspan x="1740.6px 1758.04px " y="360.288px 360.288px ">ce</tspan>ss Document<tspan x="1993.64px " y="360.288px ">a</tspan>tion,</text> <text x="1659.04px" y="412.288px" style="font-family:'SourceSansPro-Regular', 'Source Sans Pro', sans-serif;font-size:40px;">Support and Pr<tspan x="1912.68px 1932.4px 1943.68px 1963.64px 1977.12px " y="412.288px 412.288px 412.288px 412.288px 412.288px ">efere</tspan>nc<tspan x="2036.4px " y="412.288px ">e</tspan>s</text> </g> Please note how the four lines get split into a myriad of useless "tspan" tags (I had to remove them all manually) Designer 1.8.4 on macOS 10.15.7
  5. I've replied privately to stingOM, but I'd like to post here as well FYI. The product we're talking about is made of a scriptable C++ plugin that relies on a CEP Panel for the GUI/internal logic, hence it is not portable to the Affinity ecosystem (yet, at least). As I've made clear elsewhere, many PS developers are eager to build products for Affinity, as soon as the technology will be ready. To date, it's not clear which shape or form it's going to have. Best regards Davide Barranca cc-extensions.com davidebarranca.com
  6. Sure enough, it'd be nice to have an environment/API that would allow such third-party plugins. I can't wait! I do acknowledge that it isn't the first feat. request that may cheer the average user, but this doesn't mean one shouldn't log a request anyway :-) As for the user segmentation, as a technical author I am evaluating myself whether to go with Affinity or stick to the MarkDown -> LaTeX -> PDF workflow (either Pandoc, LeanPub or SoftCover). Both choices have their pros and cons... Davide
  7. As far as I understand, in this case things are easier on the Windows side of the world – on Mac, not so much :-)
  8. Hi, I've just submitted a feat request here, feel free to vote it :-) I doubt it would ever have high priority, but one should always try. Thanks for all the comments, Davide
  9. Hi, technical authors – myself included – may need to design books that include programming code (C++, JavaScript, Python, you name it) with proper syntax highlighting. As discussed at length in this thread, copy & paste from the code editor (e.g. Visual Studio Code, Sublime Text, Atom, etc.) to a Text Frame doesn't work. Besides, it seems that Edit > Paste Special is a Win only feature of Publisher. The one workaround available involves an intermediate step: Copy from the code editor. Paste to an application such as Word, Apple Pages, LibreOffice. Copy from Word/Pages/etc. and paste to Publisher text frame. This way, as far as I get, the proper Rich Text information is preserved. Although the process works, the extra step is not only tedious, but doesn't scale up when the book contains a good deal of code samples that must be maintained in an easier, faster fashion. It would be much handier to have the option to either select a portion of text in a Text Frame and assign the Language (programming language) that automatically triggers the appropriate syntax highlighting. Or have a Code Text Frame as a separate tool altogether, with properties, options and such. Thank you! Davide Barranca
  10. Very weird indeed! I would have expected a 1:1 match between platforms. I've not used Word or LibreOffice as a bridge but Apple Pages (so it's VSCode -> Pages -> APub), and it seems to work. As I wrote, even if I do some InDesign stuff I'm not experienced enough to know how page design applications deal with code syntax highlighting, hence the question about the opportunity of a feat. request. Thanks!
  11. Uhm, I may be missing something here – can I ask you where to find Paste Special? I seem unable to open the dialog your screenshot shows. Thanks!
  12. Hi, I have similar needs (code syntax highlighting) and I've found that copying from Visual Studio Code and pasting directly into a Text frame doesn't retain the metadata. An intermediate step pasting to Text Editor doesn't help either. Instead, pasting to Pages, copying from it and eventually pasting to Affinity seems to work – almost, for to apply the specific font glyphs (I use Fira Code, which has super fancy substitutions for stuff like ===, !=, =>, etc.) it's better to re-apply a Style. All in all, it is quite a cumbersome process; frankly I don't know how other page design applications deal with that need – so far I've been using either Leanpub or Softcover, that get markdown in and output pdf with an intermediate LaTeX step – syntax highlighting come as a built-in feature, and it is language-specific (JavaScript has a different highlighting from C, etc) Would that be a sensible feature request? Technical publishing isn't a small niche I suppose :-) Thank you, Davide Barranca
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.