| var test_cases = |
| [ |
| { |
| "description": "Hebrew text", |
| "text": "בינלאומי!", |
| "font_size": 36, |
| "width": 274 |
| }, |
| { |
| "description": "Hebrew text - break inbetween", |
| "text": "Hello בינ לאומי!", |
| "font_size": 36, |
| "width": 204, |
| "height": 100 |
| }, |
| { |
| "description": "Arabic Simple", |
| "text": "يحق لكل", |
| "font_size": 42, |
| "width": 200 |
| }, |
| { |
| "description": "Arabic Bidi", |
| "text": "ذلك بلده كما يحق له Web design العودة إليه.", |
| "font_size": 42, |
| "width": 200, |
| "height": 200 |
| }, |
| { |
| "description": "Arabic Multiline", |
| "text": "2. يحق لكل فرد أن يغادر أية بلاد بما في", |
| "font_size": 26, |
| "width": 224 |
| } |
| ]; |