You are viewing a single comment's thread. Return to all comments →
function designerPdfViewer(h: number[], word: string): number { const heights = []; for (let char of word) { const code = char.charCodeAt(0); const pos = code - 97; heights.push(h[pos]); } const maxHeight = Math.max(...heights); return maxHeight * word.length; }
Seems like cookies are disabled on this browser, please enable them to open this website
Designer PDF Viewer
You are viewing a single comment's thread. Return to all comments →