Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix monochrome crashgsoc-anurag-2022 | Anurag Thakur | 2022-10-19 | 1 | -0/+9 |
| | |||||
* | Optimize Division | Anurag Thakur | 2022-10-19 | 1 | -9/+27 |
| | |||||
* | Add fontdue optimization | Anurag Thakur | 2022-10-19 | 1 | -0/+46 |
| | |||||
* | SIMD with Fixed-Point | Anurag Thakur | 2022-10-17 | 2 | -33/+58 |
| | |||||
* | Add comments to raster algorithm and cleanup | Anurag Thakur | 2022-10-11 | 1 | -56/+36 |
| | |||||
* | Fixed point working now | Anurag Thakur | 2022-10-09 | 1 | -5/+5 |
| | |||||
* | Fixed first pass | Anurag Thakur | 2022-10-06 | 2 | -39/+82 |
| | |||||
* | lkw | Anurag Thakur | 2022-10-06 | 2 | -63/+90 |
| | |||||
* | Add SIMD | Anurag Thakur | 2022-10-04 | 3 | -18/+39 |
| | |||||
* | Almost fix rendering | Anurag Thakur | 2022-10-04 | 1 | -9/+15 |
| | |||||
* | Remove redundant code | Anurag Thakur | 2022-10-04 | 3 | -55/+12 |
| | |||||
* | Invert bitmap pitch | Anurag Thakur | 2022-10-04 | 1 | -19/+5 |
| | |||||
* | Free memory after use | Anurag Thakur | 2022-10-04 | 1 | -0/+1 |
| | |||||
* | Fix antialiasing | Anurag Thakur | 2022-10-04 | 2 | -21/+20 |
| | |||||
* | Rebase and cleanup | Anurag Thakur | 2022-10-04 | 1 | -17/+0 |
| | |||||
* | Insert newline at end | Anurag Thakur | 2022-10-04 | 3 | -3/+3 |
| | |||||
* | Revert unrelated changes | Anurag Thakur | 2022-10-04 | 2 | -12/+3 |
| | |||||
* | Use inbuilt data-types | Anurag Thakur | 2022-10-04 | 4 | -250/+138 |
| | |||||
* | Fix quadratic rendering | Anurag Thakur | 2022-10-04 | 1 | -92/+97 |
| | |||||
* | Partially move parameters to existing types | Anurag Thakur | 2022-10-04 | 2 | -70/+79 |
| | |||||
* | Temp fix for upside-down bitmap | Anurag Thakur | 2022-10-04 | 2 | -1/+19 |
| | |||||
* | Logging for testing | Anurag Thakur | 2022-10-04 | 2 | -0/+2 |
| | |||||
* | Added commentary | Anurag Thakur | 2022-10-04 | 2 | -36/+60 |
| | |||||
* | Added cmake build | Anurag Thakur | 2022-10-04 | 3 | -1/+4 |
| | |||||
* | Remove printfs | Anurag Thakur | 2022-10-04 | 3 | -35/+34 |
| | |||||
* | Integration prototype successful | Anurag Thakur | 2022-10-04 | 7 | -59/+111 |
| | |||||
* | Trying to get it to work attempt #1 | Anurag Thakur | 2022-10-04 | 3 | -35/+51 |
| | |||||
* | Compilation fix attempt #1 | Anurag Thakur | 2022-10-04 | 7 | -5/+113 |
| | |||||
* | Finish importing code, integration pending | Anurag Thakur | 2022-10-04 | 5 | -451/+94 |
| | |||||
* | Added things | Anurag Thakur | 2022-10-04 | 5 | -1/+1193 |
| | |||||
* | Populate errors header for 'dense' renderer | Anurag Thakur | 2022-10-04 | 1 | -1/+10 |
| | |||||
* | Add files for new 'dense' module | Anurag Thakur | 2022-10-04 | 9 | -4/+40 |
| | |||||
* | * src/cache/ftccmap.c (FTC_CMapCache_Lookup): Avoid `FT_Set_Charmap`. | Alexei Podtelezhnikov | 2022-10-03 | 1 | -8/+6 |
| | | | | | Set charmap aggressively without all validations of `FT_Set_Charmap` because we take it from the available array and only temporarily. Even CMap Format 14 will gracefully return 0. | ||||
* | * src/cache/ftcbasic.c (ftc_basic_family_get_count): Remove redundancy. | Alexei Podtelezhnikov | 2022-10-03 | 1 | -2/+1 |
| | |||||
* | * src/psaux/pshints.c (cf2_hintmap_insertHint): Fix midpoint computation. | Werner Lemberg | 2022-09-30 | 1 | -2/+4 |
| | | | | | | | Replace '(start + end) / 2' with 'start + (end - start) / 2' to avoid overflow. Fixes #1180. | ||||
* | * src/psaux/pshints.c (cf2_hintmap_build): Improve debugging output. | Werner Lemberg | 2022-09-30 | 1 | -3/+3 |
| | |||||
* | [truetype] Fix undefined pointer arithmetic. | mlugg | 2022-09-29 | 1 | -4/+5 |
| | | | | | * src/truetype/ttgxvar.c (tt_var_get_item_delta, ft_var_load_mvar): Use `FT_OFFSET`. | ||||
* | * src/sfnt/ttsbit.c (tt_face_load_strike_metrics): Use lighter FT_DivFix. | Alexei Podtelezhnikov | 2022-09-29 | 1 | -4/+2 |
| | |||||
* | [base] FT_Attach_Stream: Make `parameters` argument constant. | Ali Chraghi | 2022-09-29 | 2 | -4/+4 |
| | |||||
* | * src/tools/*.py: Migrate to Python 3. | Azamat Hackimov | 2022-09-28 | 3 | -808/+805 |
| | | | | Fixes #1185, closes !205. Formatting changes according to PEP8. | ||||
* | [sfnt] Guard access in 'COLR' table when requesting child table pointer. | Dominik Röttsches | 2022-09-27 | 1 | -5/+13 |
| | | | | | | | | | | | * src/sfnt/ttcolr.c (tt_face_get_colorline_stops, read_paint): Tighten pointer bounds checks. (get_child_table_pointer): Check whether incoming pointer `p` lies within the 'COLR' table. Reported as https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=51816 | ||||
* | [sfnt] Add SVG document bounds checking. | Ben Wagner | 2022-09-27 | 1 | -36/+45 |
| | | | | | | | | | | | | | | | | | Add a check that the document content is actually contained within the `SVG ` table. Without this check a malformed font may claim arbitrary memory as its document content. * src/sfnt/ttsvg.c (tt_face_load_svg): Take `numEntries` into account when testing 'documentRecord' extents. (find_doc): Rename `stream` to `document_records` for clarity. (tt_face_load_svg_doc): Split `doc` from `doc_list` pointer for clarity. Test that the document content is contained within the table. Ensure minimum length of document before testing for gzip format. Reported as https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=51812 | ||||
* | [base] Clean up the bitmap flow control. | Alexei Podtelezhnikov | 2022-09-22 | 1 | -20/+20 |
| | | | | | | | * src/base/ftbitmap.c (FT_Bitmap_Copy): Flip the copy if its pitch is trully opposite, zero is not a positive value. (FT_Bitmap_Convert): Set negative pitch as needed, accept negative alignment values. | ||||
* | [base] Discard and recreate bitmaps for copying and converting. | Alexei Podtelezhnikov | 2022-09-22 | 1 | -49/+17 |
| | | | | | | | | Reusing target bitmaps for copying and converting is permitted. It is, however, pointless to preserve their content before overwriting. Free- malloc might be faster than realloc. * src/base/ftbitmap.c (FT_Bitmap_Copy, FT_Bitmap_Convert): Free an old buffer and create a new one. | ||||
* | Reject 'COLR' table if version is 1 but header too small. | Dominik Röttsches | 2022-09-16 | 1 | -3/+13 |
| | | | | | | | | | * src/sfnt/ttcolr.c (tt_face_load_colr): If the version is determined to be 1, then the table size has to be at least the size of the v1 header. Also, for peeking the number of base glyphs and entries in the layer list, ensure that the table is sufficiently long. Fixes #1179. Original patch by Sergey Temnikov. | ||||
* | * src/otvalid/otvgsub.c (otv_SingleSubst_validate): Fix format 1 handling. | Werner Lemberg | 2022-09-15 | 1 | -5/+15 |
| | | | | Fixes #1181. | ||||
* | [truetype] Reject 'fvar' loading when `num_instances` is too small. | Dominik Röttsches | 2022-09-06 | 1 | -5/+16 |
| | | | | | | | | | | * src/truetype/ttgxvar.c (TT_Get_MM_Var): Reject retrieving master when 'fvar' values locally do not match with sanitized values from initialization at `sfnt_init_face` time. Reported as https://bugs.chromium.org/p/chromium/issues/detail?id=1360295 | ||||
* | [sfnt] Handle variable `COLR` v1 fonts without delta set index map | Dominik Röttsches | 2022-09-05 | 1 | -3/+2 |
| | | | | | | | | Fixes #1178. * src/sfnt/ttcolr.c (get_deltas_for_var_index_base): Set outer index to 0 and inner index to the delta index when retrieving deltas if the `COLR` table has no delta set index map. | ||||
* | [sfnt] Pointer sanity checks before reading layer info in 'COLR' v0 | Dominik Röttsches | 2022-09-05 | 1 | -1/+3 |
| | | | | | | | | | * src/sfnt/ttcolr.c (tt_face_get_colr_layer): Check that the pointer to read from is within the 'COLR' table. Reported as https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=50633 | ||||
* | [autofit] Minor fix. | Werner Lemberg | 2022-09-05 | 1 | -1/+1 |
| | | | | | * src/autofit/afglobal.c (af_face_globals_compute_style_coverage): Avoid compiler warning. |