Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

guard for character shape data that does not have any shapes (like "\r" when not forced line break in text) #3143

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dredenba
Copy link

@dredenba dredenba commented Dec 17, 2024

I found that some files have text that will not render properly with the canvas renderer but will render with the svg renderer.
Upon further investigation it appears that there is an incorrect assumption that shapeData will always have shapes.

Specifically I found that if I make a text element with forced line breaks (they appear as "\r" in the character data) it will render for both the canvas renderer and svg renderer. However if I have a file without forced line breaks but the bounds of the text element cause it to wrap to a new line then it tries to render "\r" char but the shapeData object does not have a shapes key

the bug is demonstrated in this example with text "no forced line breaks"

{"v":"5.9.0","fr":30,"ip":0,"op":180,"w":1080,"h":1920,"nm":"Comp 1","ddd":0,"assets":[],"fonts":{"list":[{"fName":"EricaOne-Regular","fFamily":"Erica One","fStyle":"Regular","ascent":74.49951171875}]},"layers":[{"ddd":0,"ind":1,"ty":5,"nm":"no forced line breaks","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[556,808,0],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"t":{"d":{"k":[{"s":{"sz":[680,1136],"ps":[-340,-568],"s":123.199996948242,"f":"EricaOne-Regular","t":"no forced line breaks","ca":0,"j":2,"tr":0,"lh":147.839996337891,"ls":0,"fc":[0.151,0.805,0.125]},"t":0}]},"p":{},"m":{"g":1,"a":{"a":0,"k":[0,0],"ix":2}},"a":[]},"ip":0,"op":180,"st":0,"bm":0}],"markers":[],"chars":[{"ch":"n","size":123.199996948242,"style":"Regular","w":68.1,"data":{"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-0.534,0.567],[-0.8,0],[-0.567,-0.566],[0,-0.8],[0,0],[0,0],[0,0],[3.3,3.6],[6.533,0],[2.933,-1.933],[0.933,-1.066],[0.266,-0.733],[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[0.533,-0.566],[0.8,0],[0.566,0.567],[0,0],[0,0],[0,0],[0,-6.866],[-3.3,-3.6],[-4.867,0],[-1.067,0.734],[-0.934,1.067],[0,0],[0,0],[0,0],[0,0],[0,0],[0,-0.8]],"v":[[32,-33.75],[34,-34.6],[36.05,-33.75],[36.9,-31.7],[36.9,0],[65.2,0],[65.2,-39],[60.25,-54.7],[45.5,-60.1],[33.8,-57.2],[30.8,-54.5],[29,-51.8],[28,-59.1],[2.9,-59.1],[2.9,0],[31.2,0],[31.2,-31.7]],"c":true},"ix":2},"nm":"n","mn":"ADBE Vector Shape - Group","hd":false}],"nm":"n","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}]},"fFamily":"Erica One"},{"ch":"o","size":123.199996948242,"style":"Regular","w":68.1,"data":{"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-4.834,4.8],[0,10.667],[4.866,4.867],[9.733,0],[0,0],[4.833,-4.866],[0,-10.666],[-4.834,-4.8],[-9.734,0],[0,0]],"o":[[4.833,-4.8],[0,-10.666],[-4.867,-4.866],[0,0],[-9.734,0],[-4.834,4.867],[0,10.667],[4.833,4.8],[0,0],[9.8,0]],"v":[[57.95,-6.3],[65.2,-29.5],[57.9,-52.8],[36,-60.1],[32,-60.1],[10.15,-52.8],[2.9,-29.5],[10.15,-6.3],[32,0.9],[36,0.9]],"c":true},"ix":2},"nm":"o","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[-0.534,0.567],[-0.8,0],[-0.567,-0.566],[0,-0.8],[0,0],[0.566,-0.533],[0.833,0],[0.5,0.534],[0,0.867],[0,0]],"o":[[0.533,-0.566],[0.8,0],[0.566,0.567],[0,0],[0,0.867],[-0.567,0.534],[-0.834,0],[-0.5,-0.533],[0,0],[0,-0.8]],"v":[[32,-32.35],[34,-33.2],[36.05,-32.35],[36.9,-30.3],[36.9,-21.9],[36.05,-19.8],[33.95,-19],[31.95,-19.8],[31.2,-21.9],[31.2,-30.3]],"c":true},"ix":2},"nm":"o","mn":"ADBE Vector Shape - Group","hd":false}],"nm":"o","np":5,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}]},"fFamily":"Erica One"},{"ch":" ","size":123.199996948242,"style":"Regular","w":28.6,"data":{},"fFamily":"Erica One"},{"ch":"f","size":123.199996948242,"style":"Regular","w":45.8,"data":{"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-1.534,-2.2],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[2.9,0.434],[3.733,0],[0,-12.2]],"o":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[-1.067,-0.4],[-2.9,-0.433],[-14.134,0],[0,3.534]],"v":[[6.6,-49.2],[2.1,-46.9],[2.1,-22.2],[6,-22.2],[6,0],[35.7,0],[35.7,-22.2],[42.9,-22.2],[42.9,-49.2],[32.3,-49.2],[32.3,-53.6],[42.9,-53.6],[42.9,-73.6],[41.4,-74.2],[35.45,-75.45],[25.5,-76.1],[4.3,-57.8]],"c":true},"ix":2},"nm":"f","mn":"ADBE Vector Shape - Group","hd":false}],"nm":"f","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}]},"fFamily":"Erica One"},{"ch":"r","size":123.199996948242,"style":"Regular","w":47.8,"data":{"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[3.333,-1.666],[0.933,-0.833],[0.2,-0.333],[0.133,-0.2],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[-5.067,0],[-1.2,0.667],[-0.934,0.834],[-0.2,0.334],[0,0],[0,0],[0,0],[0,0],[0,0]],"v":[[32.7,-28.7],[47,-27.3],[47,-59.1],[34.4,-56.6],[31.2,-54.35],[29.5,-52.6],[29,-51.8],[28,-59.1],[2.9,-59.1],[2.9,0],[32.7,0]],"c":true},"ix":2},"nm":"r","mn":"ADBE Vector Shape - Group","hd":false}],"nm":"r","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}]},"fFamily":"Erica One"},{"ch":"c","size":123.199996948242,"style":"Regular","w":58.6,"data":{"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[4.8,0],[1.2,0.2],[0,0],[0,0],[0,0],[0,0],[3.6,0.667],[4.8,0],[5.333,-4.833],[0,-10.533],[-4.767,-5],[-10.934,0],[-4.334,2]],"o":[[0,0],[-3.8,0.4],[-2.867,0],[0,0],[0,0],[0,0],[0,0],[-1.2,-0.666],[-3.6,-0.666],[-10.667,0],[-5.334,4.834],[0,10.534],[4.766,5],[10.933,0],[0,0]],"v":[[56.5,-25.7],[55,-25.6],[42.1,-25],[36,-25.3],[36,-29.7],[56.5,-29.7],[56.5,-56.1],[54.7,-57.1],[47.5,-59.1],[34.9,-60.1],[10.9,-52.85],[2.9,-29.8],[10.05,-6.5],[33.6,1],[56.5,-2]],"c":true},"ix":2},"nm":"c","mn":"ADBE Vector Shape - Group","hd":false}],"nm":"c","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}]},"fFamily":"Erica One"},{"ch":"e","size":123.199996948242,"style":"Regular","w":63.6,"data":{"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-4.7,-5.066],[-10.667,0],[-4.4,0.8],[-1.167,0.5],[-0.534,0.334],[0,0],[0,0],[6.8,0],[1.666,0.4],[0,0],[0,0],[0,0],[4.133,4.267],[10.533,0],[4.633,-5.133],[0,-10.166]],"o":[[4.7,5.067],[5.4,0],[4.4,-0.8],[1.166,-0.5],[0,0],[0,0],[-4.2,0.6],[-3.2,0],[0,0],[0,0],[0,0],[0,-9.733],[-4.134,-4.266],[-10.534,0],[-4.634,5.134],[0,10.167]],"v":[[9.95,-6.6],[33,1],[47.7,-0.2],[56.05,-2.15],[58.6,-3.4],[58.6,-22.2],[56.5,-21.9],[40,-21],[32.7,-21.6],[32.7,-25],[60.3,-25],[60.8,-32.7],[54.6,-53.7],[32.6,-60.1],[9.85,-52.4],[2.9,-29.45]],"c":true},"ix":2},"nm":"e","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[-0.5,0.534],[-0.834,0],[-0.567,-0.533],[0,-0.866],[0,0],[0,0],[0,0]],"o":[[0.5,-0.533],[0.833,0],[0.566,0.534],[0,0],[0,0],[0,0],[0,-0.866]],"v":[[31.95,-36],[33.95,-36.8],[36.05,-36],[36.9,-33.9],[36.9,-30],[31.2,-30],[31.2,-33.9]],"c":true},"ix":2},"nm":"e","mn":"ADBE Vector Shape - Group","hd":false}],"nm":"e","np":5,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}]},"fFamily":"Erica One"},{"ch":"d","size":123.199996948242,"style":"Regular","w":68.1,"data":{"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0],[1.666,0.5],[2.133,0],[4,-5.466],[0,-9.566],[-3.934,-5.333],[-7,0],[-2.467,1.933],[-0.834,1.067],[-0.267,0.734],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[-0.6,-0.466],[-1.667,-0.5],[-6.934,0],[-4,5.467],[0,9.567],[3.933,5.334],[3.866,0],[0.933,-0.733],[0.833,-1.066],[0,0],[0,0],[0,0]],"v":[[65.2,-74.5],[35.3,-74.5],[35.3,-57.2],[34.4,-57.9],[31,-59.35],[25.3,-60.1],[8.9,-51.9],[2.9,-29.35],[8.8,-7],[25.2,1],[34.7,-1.9],[37.35,-4.6],[39,-7.3],[40,0],[65.2,0]],"c":true},"ix":2},"nm":"d","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[-0.534,0.567],[-0.8,0],[-0.567,-0.566],[0,-0.8],[0,0],[0.566,-0.533],[0.833,0],[0.5,0.534],[0,0.867],[0,0]],"o":[[0.533,-0.566],[0.8,0],[0.566,0.567],[0,0],[0,0.867],[-0.567,0.534],[-0.834,0],[-0.5,-0.533],[0,0],[0,-0.8]],"v":[[32,-32.35],[34,-33.2],[36.05,-32.35],[36.9,-30.3],[36.9,-21.9],[36.05,-19.8],[33.95,-19],[31.95,-19.8],[31.2,-21.9],[31.2,-30.3]],"c":true},"ix":2},"nm":"d","mn":"ADBE Vector Shape - Group","hd":false}],"nm":"d","np":5,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}]},"fFamily":"Erica One"},{"ch":"l","size":123.199996948242,"style":"Regular","w":36.5,"data":{"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-2.634,-2.6],[-6.3,0],[-3.534,1.4],[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[2.633,2.6],[6.3,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,5.267]],"v":[[6.85,-2.9],[20.25,1],[35,-1.1],[35,-25.7],[32.9,-25.7],[32.9,-74.5],[2.9,-74.5],[2.9,-14.7]],"c":true},"ix":2},"nm":"l","mn":"ADBE Vector Shape - Group","hd":false}],"nm":"l","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}]},"fFamily":"Erica One"},{"ch":"i","size":123.199996948242,"style":"Regular","w":35.6,"data":{"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-2.467,2],[0,4.6],[10,0],[2.433,-1.933],[0,-4.4],[-2.4,-2],[-5.067,0]],"o":[[2.466,-2],[0,-8.066],[-5,0],[-2.434,1.934],[0,4.4],[2.4,2],[5.066,0]],"v":[[29,-57.2],[32.7,-67.1],[17.7,-79.2],[6.55,-76.3],[2.9,-66.8],[6.5,-57.2],[17.7,-54.2]],"c":true},"ix":2},"nm":"i","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[32.7,0],[32.7,-51.9],[2.9,-51.9],[2.9,0]],"c":true},"ix":2},"nm":"i","mn":"ADBE Vector Shape - Group","hd":false}],"nm":"i","np":5,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}]},"fFamily":"Erica One"},{"ch":"b","size":123.199996948242,"style":"Regular","w":68.1,"data":{"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[-0.734,-0.6],[-5.334,0],[-4.267,5.234],[0,9.634],[4.1,5.3],[7.4,0],[1.866,-0.433],[0.333,-0.8],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0.6,0.867],[3.333,2.6],[7.866,0],[4.266,-5.233],[0,-9.633],[-4.1,-5.3],[-2.134,0],[-1.867,0.434],[0,0],[0,0],[0,0],[0,0]],"v":[[2.9,0],[23.5,0],[25.6,-5.7],[27.6,-3.5],[40.6,0.4],[58.8,-7.45],[65.2,-29.75],[59.05,-52.15],[41.8,-60.1],[35.8,-59.45],[32.5,-57.6],[32.7,-61.9],[32.7,-74.5],[2.9,-74.5]],"c":true},"ix":2},"nm":"b","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[-0.534,0.567],[-0.8,0],[-0.567,-0.566],[0,-0.8],[0,0],[0.566,-0.533],[0.833,0],[0.5,0.534],[0,0.867],[0,0]],"o":[[0.533,-0.566],[0.8,0],[0.566,0.567],[0,0],[0,0.867],[-0.567,0.534],[-0.834,0],[-0.5,-0.533],[0,0],[0,-0.8]],"v":[[32,-32.35],[34,-33.2],[36.05,-32.35],[36.9,-30.3],[36.9,-21.9],[36.05,-19.8],[33.95,-19],[31.95,-19.8],[31.2,-21.9],[31.2,-30.3]],"c":true},"ix":2},"nm":"b","mn":"ADBE Vector Shape - Group","hd":false}],"nm":"b","np":5,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}]},"fFamily":"Erica One"},{"ch":"a","size":123.199996948242,"style":"Regular","w":65.8,"data":{"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[4.9,3.6],[10.666,0],[4.466,-1.166],[1.2,-0.7],[0.6,-0.466],[0,0],[0,0],[-3.167,0.867],[-3.467,0],[0,-2.333],[4.266,-2.366],[0,-5.6],[-11,0],[-3.667,4.6],[-0.6,-1.066],[-0.734,-0.566],[-1.534,-0.466],[-2.6,0],[-2.934,0.8],[-1.2,1],[0,0],[0,0],[0,0]],"o":[[-4.9,-3.6],[-5.334,0],[-4.467,1.167],[-1.2,0.7],[0,0],[0,0],[1.4,-0.866],[3.166,-0.866],[5.133,0],[-10.667,0.467],[-4.267,2.367],[0,9.334],[8,0],[0,0.734],[0.4,0.734],[0.733,0.567],[1.533,0.466],[2.6,0],[2.933,-0.8],[0,0],[0,0],[0,0],[0,-7.666]],"v":[[54.25,-54.7],[30.9,-60.1],[16.2,-58.35],[7.7,-55.55],[5,-53.8],[5,-27.5],[7.2,-28.8],[14.05,-31.4],[24,-32.7],[31.7,-29.2],[9.3,-24.95],[2.9,-13],[19.4,1],[36.9,-5.9],[37.8,-3.2],[39.5,-1.25],[42.9,0.3],[49.1,1],[57.4,-0.2],[63.6,-2.9],[63.6,-25.6],[61.1,-25.5],[61.6,-37.8]],"c":true},"ix":2},"nm":"a","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0.5,-0.533],[0.833,0],[0.566,0.534],[0,0.867],[0,0],[0,0],[0,0]],"o":[[-0.5,0.534],[-0.834,0],[-0.567,-0.533],[0,0],[0,0],[0,0],[0,0.867]],"v":[[32.55,-19.8],[30.55,-19],[28.45,-19.8],[27.6,-21.9],[27.6,-24.3],[33.3,-25.9],[33.3,-21.9]],"c":true},"ix":2},"nm":"a","mn":"ADBE Vector Shape - Group","hd":false}],"nm":"a","np":5,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}]},"fFamily":"Erica One"},{"ch":"k","size":123.199996948242,"style":"Regular","w":70.6,"data":{"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"v":[[35.3,-19],[37.8,0],[69.9,0],[63.5,-30.7],[69.9,-59.1],[39,-59.1],[35.3,-33.2],[32.7,-33.2],[32.7,-74.5],[2.9,-74.5],[2.9,0],[32.7,0],[32.7,-19]],"c":true},"ix":2},"nm":"k","mn":"ADBE Vector Shape - Group","hd":false}],"nm":"k","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}]},"fFamily":"Erica One"},{"ch":"s","size":123.199996948242,"style":"Regular","w":59.1,"data":{"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[4.466,-3.6],[0,-5.833],[-3.667,-2.6],[-7.134,-0.666],[0,0],[3.9,0.767],[1.866,0.934],[0,0],[0,0],[-4.2,-0.6],[-5.4,0],[-4.067,3.267],[0,5.467],[3.066,2.067],[8.266,0.8],[0,0],[-4.534,-2.333],[0,0],[0,0],[4.233,0.6],[5.266,0]],"o":[[-4.467,3.6],[0,5.834],[3.666,2.6],[0,0],[-4.134,0],[-3.9,-0.766],[0,0],[0,0],[1.533,0.6],[4.2,0.6],[10.133,0],[4.066,-3.266],[0,-5.466],[-3.067,-2.066],[0,0],[9,0],[0,0],[0,0],[-1.6,-0.6],[-4.234,-0.6],[-9.134,0]],"v":[[9.6,-54.7],[2.9,-40.55],[8.4,-27.9],[24.6,-23],[24.6,-20.6],[12.55,-21.75],[3.9,-24.3],[3.9,-2.6],[6.2,-1.7],[14.8,0.1],[29.2,1],[50.5,-3.9],[56.6,-17],[52,-28.3],[35,-32.6],[35,-35],[55.3,-31.5],[55.3,-56.5],[53,-57.4],[44.25,-59.2],[30,-60.1]],"c":true},"ix":2},"nm":"s","mn":"ADBE Vector Shape - Group","hd":false}],"nm":"s","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}]},"fFamily":"Erica One"}]}

a counter example with forced line breaks for the text "This\rwill\rbreak" works already without the bug fix:

{"v":"5.9.0","fr":30,"ip":0,"op":180,"w":1080,"h":1920,"nm":"Comp 1","ddd":0,"assets":[],"fonts":{"list":[{"fName":"EricaOne-Regular","fFamily":"Erica One","fStyle":"Regular","ascent":74.49951171875}]},"layers":[{"ddd":0,"ind":1,"ty":5,"nm":"This will break","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[556,808,0],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"t":{"d":{"k":[{"s":{"sz":[680,1136],"ps":[-340,-568],"s":123.199996948242,"f":"EricaOne-Regular","t":"This\rwill\rbreak","ca":0,"j":2,"tr":0,"lh":147.839996337891,"ls":0,"fc":[0.151,0.805,0.125]},"t":0}]},"p":{},"m":{"g":1,"a":{"a":0,"k":[0,0],"ix":2}},"a":[]},"ip":0,"op":180,"st":0,"bm":0}],"markers":[],"chars":[{"ch":"T","size":123.199996948242,"style":"Regular","w":67.4,"data":{"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"v":[[14.9,-40],[14.9,0],[52.3,0],[52.3,-40],[64.5,-40],[64.5,-69.1],[2.9,-69.1],[2.9,-40]],"c":true},"ix":2},"nm":"T","mn":"ADBE Vector Shape - Group","hd":false}],"nm":"T","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}]},"fFamily":"Erica One"},{"ch":"h","size":123.199996948242,"style":"Regular","w":68.1,"data":{"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[3.3,3.6],[6.533,0],[2.2,-0.966],[0.666,-0.866],[0.266,-0.866],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[-0.534,0.567],[-0.8,0],[-0.567,-0.566],[0,-0.8],[0,0]],"o":[[0,0],[0,-6.866],[-3.3,-3.6],[-3.2,0],[-2.2,0.967],[-0.667,0.867],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,-0.8],[0.533,-0.566],[0.8,0],[0.566,0.567],[0,0],[0,0]],"v":[[65.2,0],[65.2,-39],[60.25,-54.7],[45.5,-60.1],[37.4,-58.65],[33.1,-55.9],[31.7,-53.3],[32.7,-61.9],[32.7,-74.5],[2.9,-74.5],[2.9,0],[31.2,0],[31.2,-31.7],[32,-33.75],[34,-34.6],[36.05,-33.75],[36.9,-31.7],[36.9,0]],"c":true},"ix":2},"nm":"h","mn":"ADBE Vector Shape - Group","hd":false}],"nm":"h","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}]},"fFamily":"Erica One"},{"ch":"i","size":123.199996948242,"style":"Regular","w":35.6,"data":{"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-2.467,2],[0,4.6],[10,0],[2.433,-1.933],[0,-4.4],[-2.4,-2],[-5.067,0]],"o":[[2.466,-2],[0,-8.066],[-5,0],[-2.434,1.934],[0,4.4],[2.4,2],[5.066,0]],"v":[[29,-57.2],[32.7,-67.1],[17.7,-79.2],[6.55,-76.3],[2.9,-66.8],[6.5,-57.2],[17.7,-54.2]],"c":true},"ix":2},"nm":"i","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[32.7,0],[32.7,-51.9],[2.9,-51.9],[2.9,0]],"c":true},"ix":2},"nm":"i","mn":"ADBE Vector Shape - Group","hd":false}],"nm":"i","np":5,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}]},"fFamily":"Erica One"},{"ch":"s","size":123.199996948242,"style":"Regular","w":59.1,"data":{"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[4.466,-3.6],[0,-5.833],[-3.667,-2.6],[-7.134,-0.666],[0,0],[3.9,0.767],[1.866,0.934],[0,0],[0,0],[-4.2,-0.6],[-5.4,0],[-4.067,3.267],[0,5.467],[3.066,2.067],[8.266,0.8],[0,0],[-4.534,-2.333],[0,0],[0,0],[4.233,0.6],[5.266,0]],"o":[[-4.467,3.6],[0,5.834],[3.666,2.6],[0,0],[-4.134,0],[-3.9,-0.766],[0,0],[0,0],[1.533,0.6],[4.2,0.6],[10.133,0],[4.066,-3.266],[0,-5.466],[-3.067,-2.066],[0,0],[9,0],[0,0],[0,0],[-1.6,-0.6],[-4.234,-0.6],[-9.134,0]],"v":[[9.6,-54.7],[2.9,-40.55],[8.4,-27.9],[24.6,-23],[24.6,-20.6],[12.55,-21.75],[3.9,-24.3],[3.9,-2.6],[6.2,-1.7],[14.8,0.1],[29.2,1],[50.5,-3.9],[56.6,-17],[52,-28.3],[35,-32.6],[35,-35],[55.3,-31.5],[55.3,-56.5],[53,-57.4],[44.25,-59.2],[30,-60.1]],"c":true},"ix":2},"nm":"s","mn":"ADBE Vector Shape - Group","hd":false}],"nm":"s","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}]},"fFamily":"Erica One"},{"ch":"\r","size":123.199996948242,"style":"Regular","w":0,"fFamily":"Erica One"},{"ch":"w","size":123.199996948242,"style":"Regular","w":95,"data":{"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"v":[[93.5,-59.1],[64.5,-59.1],[61.9,-36.3],[59.8,-36.3],[57.8,-57.3],[37.6,-57.3],[35.9,-36.3],[33.7,-36.3],[31.2,-59.1],[1.4,-59.1],[10.4,0],[44,0],[46.3,-20.4],[48.5,-20.4],[50.9,0],[83.5,0]],"c":true},"ix":2},"nm":"w","mn":"ADBE Vector Shape - Group","hd":false}],"nm":"w","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}]},"fFamily":"Erica One"},{"ch":"l","size":123.199996948242,"style":"Regular","w":36.5,"data":{"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-2.634,-2.6],[-6.3,0],[-3.534,1.4],[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[2.633,2.6],[6.3,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,5.267]],"v":[[6.85,-2.9],[20.25,1],[35,-1.1],[35,-25.7],[32.9,-25.7],[32.9,-74.5],[2.9,-74.5],[2.9,-14.7]],"c":true},"ix":2},"nm":"l","mn":"ADBE Vector Shape - Group","hd":false}],"nm":"l","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}]},"fFamily":"Erica One"},{"ch":"b","size":123.199996948242,"style":"Regular","w":68.1,"data":{"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[-0.734,-0.6],[-5.334,0],[-4.267,5.234],[0,9.634],[4.1,5.3],[7.4,0],[1.866,-0.433],[0.333,-0.8],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0.6,0.867],[3.333,2.6],[7.866,0],[4.266,-5.233],[0,-9.633],[-4.1,-5.3],[-2.134,0],[-1.867,0.434],[0,0],[0,0],[0,0],[0,0]],"v":[[2.9,0],[23.5,0],[25.6,-5.7],[27.6,-3.5],[40.6,0.4],[58.8,-7.45],[65.2,-29.75],[59.05,-52.15],[41.8,-60.1],[35.8,-59.45],[32.5,-57.6],[32.7,-61.9],[32.7,-74.5],[2.9,-74.5]],"c":true},"ix":2},"nm":"b","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[-0.534,0.567],[-0.8,0],[-0.567,-0.566],[0,-0.8],[0,0],[0.566,-0.533],[0.833,0],[0.5,0.534],[0,0.867],[0,0]],"o":[[0.533,-0.566],[0.8,0],[0.566,0.567],[0,0],[0,0.867],[-0.567,0.534],[-0.834,0],[-0.5,-0.533],[0,0],[0,-0.8]],"v":[[32,-32.35],[34,-33.2],[36.05,-32.35],[36.9,-30.3],[36.9,-21.9],[36.05,-19.8],[33.95,-19],[31.95,-19.8],[31.2,-21.9],[31.2,-30.3]],"c":true},"ix":2},"nm":"b","mn":"ADBE Vector Shape - Group","hd":false}],"nm":"b","np":5,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}]},"fFamily":"Erica One"},{"ch":"r","size":123.199996948242,"style":"Regular","w":47.8,"data":{"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[3.333,-1.666],[0.933,-0.833],[0.2,-0.333],[0.133,-0.2],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[-5.067,0],[-1.2,0.667],[-0.934,0.834],[-0.2,0.334],[0,0],[0,0],[0,0],[0,0],[0,0]],"v":[[32.7,-28.7],[47,-27.3],[47,-59.1],[34.4,-56.6],[31.2,-54.35],[29.5,-52.6],[29,-51.8],[28,-59.1],[2.9,-59.1],[2.9,0],[32.7,0]],"c":true},"ix":2},"nm":"r","mn":"ADBE Vector Shape - Group","hd":false}],"nm":"r","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}]},"fFamily":"Erica One"},{"ch":"e","size":123.199996948242,"style":"Regular","w":63.6,"data":{"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-4.7,-5.066],[-10.667,0],[-4.4,0.8],[-1.167,0.5],[-0.534,0.334],[0,0],[0,0],[6.8,0],[1.666,0.4],[0,0],[0,0],[0,0],[4.133,4.267],[10.533,0],[4.633,-5.133],[0,-10.166]],"o":[[4.7,5.067],[5.4,0],[4.4,-0.8],[1.166,-0.5],[0,0],[0,0],[-4.2,0.6],[-3.2,0],[0,0],[0,0],[0,0],[0,-9.733],[-4.134,-4.266],[-10.534,0],[-4.634,5.134],[0,10.167]],"v":[[9.95,-6.6],[33,1],[47.7,-0.2],[56.05,-2.15],[58.6,-3.4],[58.6,-22.2],[56.5,-21.9],[40,-21],[32.7,-21.6],[32.7,-25],[60.3,-25],[60.8,-32.7],[54.6,-53.7],[32.6,-60.1],[9.85,-52.4],[2.9,-29.45]],"c":true},"ix":2},"nm":"e","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[-0.5,0.534],[-0.834,0],[-0.567,-0.533],[0,-0.866],[0,0],[0,0],[0,0]],"o":[[0.5,-0.533],[0.833,0],[0.566,0.534],[0,0],[0,0],[0,0],[0,-0.866]],"v":[[31.95,-36],[33.95,-36.8],[36.05,-36],[36.9,-33.9],[36.9,-30],[31.2,-30],[31.2,-33.9]],"c":true},"ix":2},"nm":"e","mn":"ADBE Vector Shape - Group","hd":false}],"nm":"e","np":5,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}]},"fFamily":"Erica One"},{"ch":"a","size":123.199996948242,"style":"Regular","w":65.8,"data":{"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[4.9,3.6],[10.666,0],[4.466,-1.166],[1.2,-0.7],[0.6,-0.466],[0,0],[0,0],[-3.167,0.867],[-3.467,0],[0,-2.333],[4.266,-2.366],[0,-5.6],[-11,0],[-3.667,4.6],[-0.6,-1.066],[-0.734,-0.566],[-1.534,-0.466],[-2.6,0],[-2.934,0.8],[-1.2,1],[0,0],[0,0],[0,0]],"o":[[-4.9,-3.6],[-5.334,0],[-4.467,1.167],[-1.2,0.7],[0,0],[0,0],[1.4,-0.866],[3.166,-0.866],[5.133,0],[-10.667,0.467],[-4.267,2.367],[0,9.334],[8,0],[0,0.734],[0.4,0.734],[0.733,0.567],[1.533,0.466],[2.6,0],[2.933,-0.8],[0,0],[0,0],[0,0],[0,-7.666]],"v":[[54.25,-54.7],[30.9,-60.1],[16.2,-58.35],[7.7,-55.55],[5,-53.8],[5,-27.5],[7.2,-28.8],[14.05,-31.4],[24,-32.7],[31.7,-29.2],[9.3,-24.95],[2.9,-13],[19.4,1],[36.9,-5.9],[37.8,-3.2],[39.5,-1.25],[42.9,0.3],[49.1,1],[57.4,-0.2],[63.6,-2.9],[63.6,-25.6],[61.1,-25.5],[61.6,-37.8]],"c":true},"ix":2},"nm":"a","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0.5,-0.533],[0.833,0],[0.566,0.534],[0,0.867],[0,0],[0,0],[0,0]],"o":[[-0.5,0.534],[-0.834,0],[-0.567,-0.533],[0,0],[0,0],[0,0],[0,0.867]],"v":[[32.55,-19.8],[30.55,-19],[28.45,-19.8],[27.6,-21.9],[27.6,-24.3],[33.3,-25.9],[33.3,-21.9]],"c":true},"ix":2},"nm":"a","mn":"ADBE Vector Shape - Group","hd":false}],"nm":"a","np":5,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}]},"fFamily":"Erica One"},{"ch":"k","size":123.199996948242,"style":"Regular","w":70.6,"data":{"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"v":[[35.3,-19],[37.8,0],[69.9,0],[63.5,-30.7],[69.9,-59.1],[39,-59.1],[35.3,-33.2],[32.7,-33.2],[32.7,-74.5],[2.9,-74.5],[2.9,0],[32.7,0],[32.7,-19]],"c":true},"ix":2},"nm":"k","mn":"ADBE Vector Shape - Group","hd":false}],"nm":"k","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}]},"fFamily":"Erica One"}]}

guard for character shape data that does not have any shapes (like "\r" when not forced line break in text)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant