[CLOSED] Cut and Paste Bug

Post your bug reports here. Include information that helps us to understand and reproduce the bug.
Post Reply
Bhikkhu Pesala
Top Typographer
Top Typographer
Posts: 9873
Joined: Tue Oct 29, 2002 5:28 am
Location: Seven Kings, London UK
Contact:

[CLOSED] Cut and Paste Bug

Post by Bhikkhu Pesala »

Using FontCreator 13.0.0.2648

Before Cut
Before Cut.png
Before Cut.png (2.85 KiB) Viewed 3232 times
After Paste
Paste special with colour and overrule same codepoints. The glyph is a single colour glyph and has no other colour glyph members.
After Paste.png
After Paste.png (3.18 KiB) Viewed 3232 times
After Copy Paste
Paste special with colour and overrule same codepoints.
After Copy Paste.png
After Copy Paste.png (3.76 KiB) Viewed 3232 times
My FontsReviews: MainTypeFont CreatorHelpFC15 + MT12.0 @ Win 10 64-bit build 19045.2486
Erwin Denissen
Moderator
Moderator
Posts: 11108
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: Cut and Paste Bug

Post by Erwin Denissen »

I see. It is more complex than we expected, so it might not always be possible to correctly cut-copy-paste, as it depends on the internal structure of the font, and that could have changed.

We have just fixed one issue related to copy-and-paste of color outlines, but that is not helping with cut-and-paste.

For color outlines, with both cut and copy we copy the glyph index of the color glyph members to clipboard. A cut will change the glyph index of all glyphs after the cut glyph(s), so that will cause issues. If we use glyph names, one could change a glyph name between cut and paste, so even that is not guaranteed to work, but might be better. The next upcoming update will use that, so we can see if that helps.
Erwin Denissen
High-Logic
Proven Font Technology
Erwin Denissen
Moderator
Moderator
Posts: 11108
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: Cut and Paste Bug

Post by Erwin Denissen »

Here is another update with the suggested change. Let us know if this works.

https://www.high-logic.com/tmp/fontcrea ... 50-x64.exe
Erwin Denissen
High-Logic
Proven Font Technology
Bhikkhu Pesala
Top Typographer
Top Typographer
Posts: 9873
Joined: Tue Oct 29, 2002 5:28 am
Location: Seven Kings, London UK
Contact:

Re: Cut and Paste Bug

Post by Bhikkhu Pesala »

Copy and Cut / Paste seem to work as expected as long as one selects Both Color and Outlines on the paste special dialog.
My FontsReviews: MainTypeFont CreatorHelpFC15 + MT12.0 @ Win 10 64-bit build 19045.2486
Erwin Denissen
Moderator
Moderator
Posts: 11108
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: [CLOSED] Cut and Paste Bug

Post by Erwin Denissen »

That is because the color glyph member uses its own monochrome outline.
Erwin Denissen
High-Logic
Proven Font Technology
Post Reply