I like the plan to improve copy functions over plain text. However, it might be more feasible and productive to copy a (possibly simplified) html snippet to the clipboard rather than producing presentation glyphs that may or may not render in many apps where fallback fonts may or may not be available.
That is, when I copy-paste a web page into Office, I have to choose whether to import the formatted html, or just the plain text. However, when I paste the same clipboard item into a simple text editor, the formatted option isn't present. A similar approach for sword front ends would fit the user expectation of a rich copy, but also be more likely to succeed in all cases. Is there already a sword front end that already has this rich copy enabled (even for a subset of the allowable markups?) (And related to the implied reason why this capability is missing:) In addition to improving the functionality of the text rendering for copy/paste, the configuration files should probably be improved to include a "copy-allowed" item (and "print-allowed" if/where applicable.) That is, be able to restrict the copy function when the license provided doesn't include even limited copying. This will help to undo the risk of pass-through copying en-mass. On Sun, May 5, 2019 at 11:00 AM David Haslam <[email protected]> wrote: > When pasting a Bible passage from the clipboard to Social media, text > styles are usually squished. > > This often means that superscripted verse tags just become ordinary > numbers. > Some front-ends even leave no space between the verse tag and the start of > verse text. > The result in social media is a tad ugly. > > Surely we could do better? > > One bright idea implemented externally by one of our members is simple > enough for us to consider adding as a new filter in the SWORD API. > > Convert verse number digits to Unicode superscript digits, ⁰¹²³⁴⁵⁶⁷⁸⁹ > > NB. These special 10 characters are not in a continuous block. > > How front-ends might include the filter such that copying a passage to the > clipboard would automatically make use of these special characters is yet > to be determined, but if the idea is not yet discussed, we’ll not make any > progress. > > Aside: I made my own TextPipe filter to convert digits to these special > characters. > I included a restriction to avoid converting chapter numbers. > I did not yet consider what to do about digits that are part of verse text > (such as 144,000). > > Even so, how do software developers feel about the concept ? > > Best regards, > > David > > Sent from ProtonMail Mobile > _______________________________________________ > sword-devel mailing list: [email protected] > http://www.crosswire.org/mailman/listinfo/sword-devel > Instructions to unsubscribe/change your settings at above page
_______________________________________________ sword-devel mailing list: [email protected] http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page
