Sets all ranges to empty. Used before expanding with font-based data.
| 109 | |
| 110 | // Sets all ranges to empty. Used before expanding with font-based data. |
| 111 | void UNICHARSET::UNICHAR_PROPERTIES::SetRangesEmpty() { |
| 112 | min_bottom = MAX_UINT8; |
| 113 | max_bottom = 0; |
| 114 | min_top = MAX_UINT8; |
| 115 | max_top = 0; |
| 116 | width = 0.0f; |
| 117 | width_sd = 0.0f; |
| 118 | bearing = 0.0f; |
| 119 | bearing_sd = 0.0f; |
| 120 | advance = 0.0f; |
| 121 | advance_sd = 0.0f; |
| 122 | } |
| 123 | |
| 124 | // Returns true if any of the top/bottom/width/bearing/advance ranges/stats |
| 125 | // is emtpy. |
no outgoing calls
no test coverage detected