mirror of
https://github.com/lens-protocol/core.git
synced 2026-01-09 14:18:04 -05:00
misc: handle svg text revert back to one line with better scaling
This commit is contained in:
@@ -54,6 +54,23 @@ contract HandleSVGGen is Test {
|
||||
);
|
||||
}
|
||||
|
||||
function testRealHandles() public {
|
||||
vm.writeFile(string.concat(dir, 'handles/handle_real_01.svg'), handleNFT.tryWithName('bradorbradley'));
|
||||
vm.writeFile(string.concat(dir, 'handles/handle_real_02.svg'), handleNFT.tryWithName('creatorfundincubator'));
|
||||
vm.writeFile(string.concat(dir, 'handles/handle_real_03.svg'), handleNFT.tryWithName('ameerna17958863'));
|
||||
vm.writeFile(string.concat(dir, 'handles/handle_real_04.svg'), handleNFT.tryWithName('lensprotocol'));
|
||||
vm.writeFile(string.concat(dir, 'handles/handle_real_05.svg'), handleNFT.tryWithName('mariariivari'));
|
||||
vm.writeFile(string.concat(dir, 'handles/handle_real_06.svg'), handleNFT.tryWithName('thesmurfssociety'));
|
||||
vm.writeFile(string.concat(dir, 'handles/handle_real_07.svg'), handleNFT.tryWithName('donosonaumczuk'));
|
||||
vm.writeFile(string.concat(dir, 'handles/handle_real_08.svg'), handleNFT.tryWithName('timeswap_labs'));
|
||||
vm.writeFile(string.concat(dir, 'handles/handle_real_09.svg'), handleNFT.tryWithName('millionrecords'));
|
||||
vm.writeFile(string.concat(dir, 'handles/handle_real_10.svg'), handleNFT.tryWithName('cointelegraph'));
|
||||
vm.writeFile(string.concat(dir, 'handles/handle_real_11.svg'), handleNFT.tryWithName('christian_ronaldo'));
|
||||
vm.writeFile(string.concat(dir, 'handles/handle_real_12.svg'), handleNFT.tryWithName('zombieshepherd'));
|
||||
vm.writeFile(string.concat(dir, 'handles/handle_real_13.svg'), handleNFT.tryWithName('beautifuldestinations'));
|
||||
vm.writeFile(string.concat(dir, 'handles/handle_real_14.svg'), handleNFT.tryWithName('shellprotocol_touchan'));
|
||||
}
|
||||
|
||||
function testWWW() public {
|
||||
for (uint256 i = 1; i <= 26; i++) {
|
||||
string memory name = '';
|
||||
|
||||
Reference in New Issue
Block a user