Share the layout between preview and PDF
Page size, wrapping and overflow are calculated in one layout engine. Preview and PDF consume the same page data to stay aligned.
02 Case study / 2026
Resume builder
A simple resume studio with eight themes, live previews and Turkish-compatible PDF export, keeping drafts on the device.
Turn resume preparation into a clear workflow that is comfortable on mobile, without crowded forms or account creation.
A three-step editor presents experience, education, projects and skills through eight themes. Preview and PDF share a page layout, with automatic pagination for long content on A4 and Letter paper.
PDFs embed fonts supporting Turkish, preserve selectable text and include clickable links. Drafts save automatically on the device and can be backed up as JSON to open on another device.
Engineering decisions
Page size, wrapping and overflow are calculated in one layout engine. Preview and PDF consume the same page data to stay aligned.
pdf-lib embeds fonts while preserving selectable text and clickable links. The resume is exported as a document rather than a screenshot.
Drafts save automatically in the browser. JSON backup and reopening let users continue without creating an account or uploading a resume.
Add your details → choose a theme and paper size → preview → download the PDF.
Resume data is stored in the browser. A JSON backup preserves a draft before browser data is cleared.
Source-grounded flow
PDF generation consumes the same layout data as the preview. Fonts are embedded and every layout page becomes a PDF page with the same dimensions.
Scroll the diagram horizontally on narrow screens. Resume data · Layout engine · Live preview · Text-based PDF
Annotated source excerpt
export async function makePDF(layout,{regular,bold},name='CV') {
const pdf=await PDFDocument.create();pdf.registerFontkit(fontkit);
const fonts={regular:await pdf.embedFont(regular,{subset:true}),bold:await pdf.embedFont(bold,{subset:true})};
pdf.setTitle(name);pdf.setAuthor(name);pdf.setCreator('CV Studio · ceskacan.com');pdf.setProducer('CV Studio');
for(const items of layout.pages){
const page=pdf.addPage([layout.width,layout.height]);
for(const item of items){
if(item.type==='rect')page.drawRectangle({x:item.x,y:layout.height-item.y-item.height,width:item.width,height:item.height,color:color(item.color)});Source revision: 2f751c5 · · View source ↗
From the actual commit history
Fixed stale caching by naming release assets with content fingerprints.
2f751c5 ↗Added the responsive pixel couple animation to the welcome area.
4c38a9a ↗Added six themes for eight in total, with multi-page PDF layouts.
3147c6f ↗Dates are displayed in the Türkiye time zone.