summary refs log tree commit diff stats
path: root/includes/footer.php
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2008-12-05 15:46:29 -0500
committerStarla Insigna <hatkirby@fourisland.com>2008-12-05 15:46:29 -0500
commit6c4ea65b25b7436027385824f33a0d0afe84ea7b (patch)
tree12b945150997b1f7a4a64936542b2eaf3cd529e9 /includes/footer.php
parent76d12bd65379d8345ec3e835b2c2e162c46b2f9d (diff)
downloadfourisland-6c4ea65b25b7436027385824f33a0d0afe84ea7b.tar.gz
fourisland-6c4ea65b25b7436027385824f33a0d0afe84ea7b.tar.bz2
fourisland-6c4ea65b25b7436027385824f33a0d0afe84ea7b.zip
Fixed Pingback display problem
This was only noticed when a lot of attention was put on the pingback engine when TimTam's pingback (http://tamasys.wordpress.com/2008/12/03/the-closest-book/) to
(http://fourisland.com/blog/of-books-and-memes/) failed. This in itself was not the actual problem, that being that TimTam seems to have used the incorrect URL to link
to said post, but this was also noticed as rendering the pingbacks themselves as absolutely ugly comments.
Diffstat (limited to 'includes/footer.php')
0 files changed, 0 insertions, 0 deletions
; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
#ifndef FONT_H_C80183A7
#define FONT_H_C80183A7

#include <string_view>
#include <vector>
#include "vector.h"

class Renderer;

class Font {
public:

  Font(std::string_view filename, Renderer& renderer);

  int getTextureId() const { return textureId_; }

  vec2i getCharacterLocation(char ch) const;

  vec2i getCharacterSize(char ch) const;

  int getCharacterWidth(char ch) const;

  int getCharacterHeight() const { return tileSize_.h(); }

private:

  int textureId_;
  int columns_;
  vec2i tileSize_;
  std::vector<int> widths_;
};

#endif /* end of include guard: FONT_H_C80183A7 */