Skip to content

Instantly share code, notes, and snippets.

View khaledhosny's full-sized avatar

خالد حسني (Khaled Hosny) khaledhosny

View GitHub Profile
@khaledhosny
khaledhosny / cldr-coverage.py
Last active May 8, 2020 15:49
Calculate font script and language coverage based on ICU exemplar data
# Copyright 2020 Khaled Hosny
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
p {
font-family: Calibri;
font-size: 32pt;
direction: rtl;
}

Keybase proof

I hereby claim:

  • I am khaledhosny on github.
  • I am khaledhosny (https://keybase.io/khaledhosny) on keybase.
  • I have a public key whose fingerprint is BD1E 08A7 3B2E 2FBF 0A57 74D0 468A 884C 63AE C8F2

To claim this, I am signing this object:

%% the following is needed for the stolen code to work
\newdimen\scratchdimen
\newdimen\zeropoint\zeropoint=0pt
\newbox\scratchbox
\def\fontexheight{\fontdimen5 }
\def\mathsubnormal{\fontdimen16 }
\def\mathsupnormal{\fontdimen14 }
\def\strutheight{0pt}
\def\strutdepth{0pt}