Skip to content

Commit

Permalink
move instruction counts to mod docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dfrg committed Feb 5, 2024
1 parent 83f05a7 commit 8f77de9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions skrifa/src/outline/glyf/hint/engine/arith.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//! Arithmetic and math instructions.
//!
//! Implements 10 instructions.
//!
//! See <https://learn.microsoft.com/en-us/typography/opentype/spec/tt_instructions#arithmetic-and-math-instructions>

// 10 instructions

use super::{super::math, Engine, HintErrorKind, OpResult};

impl<'a> Engine<'a> {
Expand Down
4 changes: 2 additions & 2 deletions skrifa/src/outline/glyf/hint/engine/graphics_state.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//! Managing the graphics state.
//!
//! Implements 45 instructions.
//!
//! See <https://learn.microsoft.com/en-us/typography/opentype/spec/tt_instructions#managing-the-graphics-state>

// 45 instructions

use read_fonts::types::Point;

use super::{
Expand Down
4 changes: 2 additions & 2 deletions skrifa/src/outline/glyf/hint/engine/logical.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//! Logical functions.
//!
//! Implements 11 instructions.
//!
//! See <https://learn.microsoft.com/en-us/typography/opentype/spec/tt_instructions#logical-functions>

// 11 instructions

use super::{Engine, OpResult};

impl<'a> Engine<'a> {
Expand Down
4 changes: 2 additions & 2 deletions skrifa/src/outline/glyf/hint/engine/stack.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
//! Managing the stack and pushing data onto the interpreter stack.
//!
//! Implements 26 instructions.
//!
//! See <https://learn.microsoft.com/en-us/typography/opentype/spec/tt_instructions#managing-the-stack>
//! and <https://learn.microsoft.com/en-us/typography/opentype/spec/tt_instructions#pushing-data-onto-the-interpreter-stack>

// 26 instructions

use super::{super::code_state::Args, Engine, OpResult};

impl<'a> Engine<'a> {
Expand Down

0 comments on commit 8f77de9

Please sign in to comment.