font-style-to-pos.cpp revision 6b15695578f07a3f72c4c9475c1a261a3021472a
#include "font-style-to-pos.h"
#include <style.h>
/* 'lighter' and 'darker' have to be resolved earlier */
/**
Given a style struct (CSS representation), sets the corresponding fields in a NRTypePosDef.
*/
{
case SP_CSS_FONT_WEIGHT_100:
break;
case SP_CSS_FONT_WEIGHT_200:
break;
case SP_CSS_FONT_WEIGHT_300:
break;
case SP_CSS_FONT_WEIGHT_400:
break;
case SP_CSS_FONT_WEIGHT_500:
break;
case SP_CSS_FONT_WEIGHT_600:
break;
case SP_CSS_FONT_WEIGHT_700:
case SP_CSS_FONT_WEIGHT_BOLD:
break;
case SP_CSS_FONT_WEIGHT_800:
break;
case SP_CSS_FONT_WEIGHT_900:
break;
default:
g_warning("Unrecognized font_weight.computed value");
break;
}
case SP_CSS_FONT_STYLE_ITALIC:
break;
break;
case SP_CSS_FONT_STYLE_NORMAL:
default:
break;
}
break;
break;
break;
break;
break;
break;
default:
break;
}
break;
default:
break;
}
return ret;
}