googlefonts / fontdiff

tool for finding visual differences between two font versions
Other
135 stars 29 forks source link

Compare two fonts (ASCII and Unicode) with different text but same display. #30

Open MayuraVerma opened 5 years ago

MayuraVerma commented 5 years ago

I want to compare ASCII and Unicode fonts against ASCII and Unicode text.

Although the ASCII and Unicode text are different, with their respective fonts, they are intended to display the same text.

ASCII text: "PÀ£ÀßqÀ ¨sÁµÉ ¥ÁæaãÀªÁzÀÄzÀÄ. EzÀÄ zÀQët¨sÁgÀvÀzÀ°è ¥Àæ¹zÀÞªÁVgÀĪÀ zÁæ«qÀ ¨sÁµÉUÀ¼À ªÀUÀðPÉÌ ¸ÉÃjzÀÄzÀÄ. vÀ«Ä¼ÀÄ, vÉ®ÄUÀÄ, ªÀÄ®0iÀiÁ¼À, vÀļÀÄUÀ¼ÀÆ D ªÀUÀðPÉÌà ¸ÉÃjzÀªÀÅUÀ¼ÀÄ. F LzÀÆ ¨sÁµÉUÀ¼ÀÄ M§â¼Éà vÁ¬Ä¬ÄAzÀ d£ÀäªÉwÛzÀ CPÀÌvÀAV0iÀÄjzÀÝ ºÁUÉ. ¸ÀĪÀiÁgÀÄ 2 ¸Á«gÀ ªÀµÀðUÀ½AzÀ®Æ ‘PÀ£ÀßqÀ’ JA§ £ÁªÀÅ ªÀiÁvÀ£ÁqÀĪÀ ¨sÁµÉ §¼ÀPÉ0iÀÄ°èzÉ."

Equivalent Unicode text: "ಕನ್ನಡ ಭಾಷೆ ಪ್ರಾಚೀನವಾದುದು. ಇದು ದಕ್ಷಿಣಭಾರತದಲ್ಲಿ ಪ್ರಸಿದ್ಧವಾಗಿರುವ ದ್ರಾವಿಡ ಭಾಷೆಗಳ ವರ್ಗಕ್ಕೆ ಸೇರಿದುದು. ತಮಿಳು, ತೆಲುಗು, ಮಲಯಾಳ, ತುಳುಗಳೂ ಆ ವರ್ಗಕ್ಕೇ ಸೇರಿದವುಗಳು. ಈ ಐದೂ ಭಾಷೆಗಳು ಒಬ್ಬಳೇ ತಾಯಿಯಿಂದ ಜನ್ಮವೆತ್ತಿದ ಅಕ್ಕತಂಗಿಯರಿದ್ದ ಹಾಗೆ. ಸುಮಾರು 2 ಸಾವಿರ ವರ್ಷಗಳಿಂದಲೂ ‘ಕನ್ನಡ’ ಎಂಬ ನಾವು ಮಾತನಾಡುವ ಭಾಷೆ ಬಳಕೆಯಲ್ಲಿದೆ."

I want to compare the ASCII text with ASCII font and Unicode text with Unicode text.

Is it possible with fontdiff tool?

MayuraVerma commented 5 years ago

we need two stream of text input. One for before, one for after.

Usage: ./fontdiff --before a.ttf --after b.ttf --specimen specimen.html --out out.pdf