editly
editly copied to clipboard
Urdu not centered in text component
Can I use Editly for creating pictures with text in Urdu language ?
you can try. use a font that supports Urdi. If it doesn't work, report back
Thanks, its working but text is not coming in middle

Here's the code I used
const editly = require('editly');
const editSpec = { width: 1920, height: 1080, fps: 30, outPath: './output/subtitle.mp4', defaults: { layer: { fontPath: './fonts/jameel.ttf' }, layerType: { 'fill-color': { color: '#00aa00' } } }, clips: [{ duration: 5, transition: { name: 'dreamyzoom' }, layers: [{ type: 'title-background', text: 'جس میں امریکی فٹ بال ٹیم چارجرز کے طور پر جانا جاتا ہے؟', background: { type: 'radial-gradient' }, fontSize: 72 }] }, ], }
// See editSpec documentation editly(editSpec) .catch(console.error);